
<Scrolling AllowScroll="true" EnableVirtualScrollPaging="true" UseStaticHeaders="true" SaveScrollPosition="true" ScrollHeight="250" /><telerik:RadListBox ID="chkTools" runat="server" CheckBoxes="True" AutoPostBack="True" OnItemCheck="chkTools_ItemCheck" EnableEmbeddedSkins="False" OnClientItemChecked="onItemChecked" OnClientItemChecking="onItemChecking"></telerik:RadListBox>
Q1 2012 (Version 2012.1.215)
Breaking change: Since the Beta release of Q1 2012 the nodes of the treeview have their text html encoded.
Reason: There were problems when using LoadOnDemand through WebService and ServerSideCallBack. When a node with html in the text was added a server error occurred upon postback.
Solution: From the upcoming Latest internal build the encoding will be optional through the property EnableNodeTextHtmlEncoding and it will be disabled by default.
<
telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_OnAjaxRequest">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
<telerik:AjaxUpdatedControl ControlID="RadGrid2" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
In Code-Behind, I have a handler function RadAjaxManager1_OnAjaxRequest() for handling the ajax request. Inside RadAjaxManager1_OnAjaxRequest, I am passing on the arguments to execute an SP and equating the data table returned to RadGrid2.DataSource, as below :
protected
void RadAjaxManager1_OnAjaxRequest(object sender, AjaxRequestEventArgs e)
{
String argument = e.Argument;
String[] args = argument.Split("^".ToCharArray());
NameValueCollection parameters = new NameValueCollection();
parameters.Add("@par1", args[0]);
parameters.Add("@par2", args[1]);
parameters.Add("@par3", args[2]);
RadGrid2.DataSource = obj.ExecuteSP("MySP", parameters);
RadGrid2.Rebind();
}
The problem arises now, when I select a row in RadGrid1, I do not see any RadAjaxLoadingPanel being loaded. Moreover, the RadGrid2 does not populate. However, While debugging I am able to see that the rows are being returned(RadGrid2.DataSource.Rows.Count is greater than 0).
Thanks,
Anup