To work with "Disabling the embedded scripts" in telerik rad control in SharePoint web part, follow the this link. it helps a lot.
http://www.telerik.com/help/aspnet-ajax/disabling_embedded_resources.html
This link support a basic guideline for a JavaScript used by rad control. to integrate this feature in web part, you need to register related rad control JavaScript in web part.
These are the basic step how to work with this:
Step 1:
set rad grid "enableembeddedscripts" to false.
RadGrid.EnableEmbeddedScripts = false;
Step 2:
Add JavaScript in script manager in OnInIt method:
protected override void OnInit(EventArgs e)
{
/* ScriptManager */
ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);
if (scriptManager == null)
{
scriptManager = new ScriptManager();
scriptManager.ID = this.ID + "ScriptManager1";
scriptManager.Scripts.Add(new ScriptReference(string.Format("{0}/{1}", TelerikScriptPath, "Common/Core.js")));
scriptManager.Scripts.Add(new ScriptReference(string.Format("{0}/{1}", TelerikScriptPath, "Common/PopUp/PopUpScripts.js")));
this.Page.Form.Controls.AddAt(0, scriptManager);
}
}
Engage a SharePoint consulting company to know more about how SharePoint could be leveraged for your unique business requirements.
SharePoint Engine is a New Jersey based, Microsoft Gold Certified, SharePoint Consulting Company helping organizations nationwide for their collaboration and content management needs. Our vision is to foster collaboration among your people, by empowering them to locate resources and build upon it to boost productivity and perform like never before.