This is a migrated thread and some comments may be shown as answers.

xmlhttp inside ajaxpanel

1 Answer 38 Views
XmlHttpPanel
This is a migrated thread and some comments may be shown as answers.
tony
Top achievements
Rank 1
tony asked on 19 Aug 2011, 07:32 AM
<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..?

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 24 Aug 2011, 09:51 AM
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 >>

Tags
XmlHttpPanel
Asked by
tony
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or