xmlhttp inside ajaxpanel

2 posts, 0 answers
  1. tony
    tony avatar
    1 posts
    Member since:
    Nov 2008

    Posted 19 Aug 2011 Link to this post

    <ajaxpanel>
         <httppanel>
              <radgrid>
                  <checkbox>
                  </checkbox>
              </radgrid>
              <button>
              </button>
          </httppanel>
    </ajaxpanel>
    hi,
    i have radgrid whic contains checkboxes, this rad grid is placed inside an xmlhttppanel whic is placed inside an ajax panel. A button is placed inside the ajaxpanel ,like shown above
    no under the 'OnClick' (server side) event of the button am tracking the selected checkboxes, this doest works for the first button click. but it works after the first click ... any solutions..?

  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 24 Aug 2011 Link to this post

    Hi Tony,

    This scenario is not supported by the RadXmlHttpPanel. Since the ViewState is not saved when the controls are updated by the XHPanel, the current state of the control will be lost on the first postback or ajax call - which is exactly what's happening in you case. My suggestion is to drop the XmlHttpPanel and use only Ajax panels.

    Please refer to the RadXmlHttpPanel's online help for more information on the control.

    All the best,
    Pero
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top