ScriptManager.RegisterStartupScript problem

Posted by Community Admin on 04-Aug-2018 07:14

ScriptManager.RegisterStartupScript problem

All Replies

Posted by Community Admin on 01-Apr-2014 00:00

Hello.

I'm trying to use such code in my MasterPage:

ScriptManager.RegisterStartupScript(page, page.GetType(), plh.UniqueID, sb.ToString(), true);
If I'm trying to add controls on this MasterPage I don't see ContentPlaceHolder, in which I should add controls. If I comment this string everything is ok.

How should I modify this code?

Posted by Community Admin on 03-Apr-2014 00:00

Hello Galina,

Do you have any errors? Could you please give more information about the script that you are trying to execute? 

You could check also the forum posts here and here and example here. More information about the RadScriptManager is available in that documentation.

Regards,
Svetoslav Manchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed