get value from usercontrols inside placeholder after partial postback with radajaxmanager.

2 posts, 0 answers
  1. Brett
    Brett avatar
    12 posts
    Member since:
    Jul 2011

    Posted 26 Mar 2013 Link to this post

    I have a web application that is using RadAjaxManager to enable partial postback to the page.
    I have a placeholder on the page that I am adding usercontrols to it's controls collection through code behind after a partial postback. 
    The controls are created and displayed correctly. however when I go to retrieve the values, the placeholder controls collection is  null even though i am not updating the placeholder on partial postback via ajaxsetting.
    Since I am not updating the placeholder on postback of the submit button, the controls do not dissapear off the page but the placeholder.controls collection is empty/null.
    Any ideas?
  2. Brett
    Brett avatar
    12 posts
    Member since:
    Jul 2011

    Posted 26 Mar 2013 Link to this post

    I figured it out, I had to make sure to recreate the controls on page_load NOT page_init which is what I kept trying initially.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top