property of the div element in order to toggle its visibility. The following code sample shows a possible approach to do this (SetVisibility
is a handler of an input's onclick
panelDiv = $get(
As for the error that you encountered, the RadXmlHttpPanel loads it data by using ASP.NET's Callback mechanisms and Web Services. These methods do not offer Viewstate and there is no page lifecycle. This prevents the server-side event handlers from execution and therefore the server-side interaction among the controls inside the panel is limited. In your case most probably there is a ASP control in the RadXmlHttpPanel
that strongly relies on ViewState, which results in the encountered problem. You should consider using the RadXmlHttpPanel
for loading presentation data, which is its primary purpose.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed