The following example demonstrates how to benefit by using the RadAjaxPanel
combined with the RadXmlHttpPanel.
A RadGrid is hosted in a RadXmlHttpPanel, and the RadXmlHttpPanel
itself is wrapped by a RadAjaxPanel. The RadXmlHttpPanel
populates the RadGrid by loading on-demand content, while the RadAjaxPanel
ensures that all of the (RadGrid's) events are fired correctly and trigger Ajax
partial updates. This way we have optimum performance and take full advantage of
what each panel does best.
Note: 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.