ScriptManager.RegisterStartupScript problem - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

ScriptManager.RegisterStartupScript problem

  • ScriptManager.RegisterStartupScript problem
  • 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?

  • 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.

    Svetoslav Manchev
    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