ASP.NET AJAX and Javascript

Discussion in 'ASP .Net Web Controls' started by Simic, Jan 20, 2009.

  1. Simic

    Simic Guest

    I have page on which I am using CollapsiblePanelExtender and JavaScripts.
    When Javascripot is directly on the page everything is working good. I am
    trying to put those scripts in to the file and to include it with
    RegisterStartupScript using either ScriptManager.RegisterStartupScript or
    ClientScript.RegisterStartupScript in Page_Load or OnPreRender event.
    The Javascript in those cases is not seen objects which are on UpdatePanel
    which is showing trough CollapsiblePanelExtender .

    Does anybody have some idea?
    Simic, Jan 20, 2009
    1. Advertisements

  2. Simic

    Simic Guest

    One more thing. On other page where I am using also
    CollapsiblePanelExtender when I open page source view I regularly see
    objects(grid) html tags. With the first problematic page I don't see
    objects. Probably they are saved in view state or similar and that is the
    Simic, Jan 20, 2009
    1. Advertisements

  3. Simic

    Simic Guest

    The solution was that I use created name
    Simic, Jan 21, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.