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

RadAjaxPanel With XmlHttpPanel

1 Answer 14 Views
XmlHttpPanel
This is a migrated thread and some comments may be shown as answers.
JC
Top achievements
Rank 1
JC asked on 18 Apr 2013, 02:20 AM
Hi Telerik,

Will there be any issue if I use radajaxpanel along with the radxmlhttppanel? I got some doubts whether the ajax partial updates
are triggered properly if I combine these two?

Thankyou,
JC

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 18 Apr 2013, 04:50 AM
Hi,

 A RadControl is hosted in a RadXmlHttpPanel, and the RadXmlHttpPanel itself is wrapped by a RadAjaxPanel. Suppose in case of controls like RadGrid, the RadXmlHttpPanel populates the RadGrid by loading on-demand content, while the RadAjaxPanel ensures that all the events of the RadGrid are fired correctly and trigger Ajax partial updates. This way we have optimum performance and take full advantage of what each panel does best. So as far as I know, generally there wont be any issue when we use these controls in a combined manner in a scenario where ViewState is not considered much.

Note: Still RadGrid's Insert/Update/Delete operations are not supported in this scenario (RadXmlHttpPanel in RadAjaxPanel), because they rely heavily on the ViewState. Since the ViewState is not updated on ASP.NET client callbacks, on the next row Insert/Update/Delete the incorrect row will be affected, and this will cause data inconsistency. That's why this setup should be used in simpler scenarios, where the ViewState is not that important.

Thanks,
Princy.
Tags
XmlHttpPanel
Asked by
JC
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or