Using Atlas updatepanel to update a webpart usercontrol content that's hosted in an Ajax page

Last post 04-15-2007 10:14 PM by ASPCoderrs. 2 replies.

Sort Posts:

  • Using Atlas updatepanel to update a webpart usercontrol content that's hosted in an Ajax page

    04-13-2007, 5:26 AM
    • Loading...
    • ASPCoderrs
    • Joined on 04-13-2007, 5:17 AM
    • Posts 3

    Hello all,

    I have an Atlas enabled page which already has a Scriptmanager and some updatepanels doing some AJAX work. In this page I have a section which runs a webpart. There is a usercontrol sitting in this webpart and the content in the usercontrol is updated via a updatepanel using Atlas.

    I am unable to get the webpart to work as ASP.NET will not allow me to add the usercontrol into the webpart since there is already a Scriptmanager sitting on the main default.aspx page. I am also not able to get the usercontrol to work properly in the webpart as I need to have the scriptmanager sitting inside the usercontrol in order for the updatepanel in the usercontrol to work.

     Can anyone advise me on how to get this working? Any kind of advise will be appreciated. Thanks

     

  • Re: Using Atlas updatepanel to update a webpart usercontrol content that's hosted in an Ajax page

    04-14-2007, 10:38 AM
    • Loading...
    • ASPCoderrs
    • Joined on 04-13-2007, 5:17 AM
    • Posts 3

    does anyone has any knowledge on this? Thanks

  • Re: Using Atlas updatepanel to update a webpart usercontrol content that's hosted in an Ajax page

    04-15-2007, 10:14 PM
    • Loading...
    • ASPCoderrs
    • Joined on 04-13-2007, 5:17 AM
    • Posts 3

    Hello all, I've found the answer to my own question. Turns out to be very simple. I only needed to add the ScriptManagerProxy into the user control and reference the top level scriptmanager and everything works like a charm.

    Thanks for reading

Page 1 of 1 (3 items)
Microsoft Communities
Page view counter