none
ClientScriptManager hell RRS feed

  • Question

  • Hello Everyone,

    I am adding a pure Javascript calendar to our project using this free calendar:

    http://www.dynarch.com/demos/jscalendar/doc/html/reference.html#node_sec_2.1

    It works perfectly if I follow the steps in a test project, I simply add the scripts in source of the aspx page and the calendar appears and works.

    Problem is I cannot simply add the scripts to the ascx page in the live solution, I apparently need to work with the ClientScriptManager to register the scripts in the Page_Load event of the page.

    I have no idea which methods to use, Client or Startup, how the code should look anything to give these scripts registered.

    What I can tell you is I have a usercontrol usercontrol.ascx that has two images on that once clicked need the calendar to pop up.

    Any ideas guys?


    • Moved by Harry Zhu Friday, October 10, 2008 2:29 AM asp.net question (Moved from Visual C# General to Off-Topic Posts (Do Not Post Here))
    Wednesday, October 8, 2008 1:43 PM

All replies