I am using RadGrid on my page with AJAX functionality. After performing AJAX callback, it stops working and using almost every functionality returns error (4.jpg, from Firebug):
$find("ctl00_placeholderBody_ctl04_ListControl_RadGrid_ctl00") is null
When I looked at DOM, I noticed RadGrid object has weird name ("null", 3.jpg).
How is this possible? This is part of my view:
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid" LoadingPanelID="RadAjaxLoadingPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel Runat="server" Skin="Default" ID="RadAjaxLoadingPanel">
</telerik:RadAjaxLoadingPanel>
<telerik:RadGrid ID="RadGrid" runat="server" AutoGenerateColumns="False" AllowPaging="True"
AllowSorting="True" PageSize="10" AllowFilteringByColumn="true" AllowCustomPaging="True" ClientIDMode="AutoID">
<mastertableview ClientIDMode="AutoID">
</mastertableview>
</telerik:RadGrid>
$find("ctl00_placeholderBody_ctl04_ListControl_RadGrid_ctl00") is null
When I looked at DOM, I noticed RadGrid object has weird name ("null", 3.jpg).
How is this possible? This is part of my view:
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid" LoadingPanelID="RadAjaxLoadingPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel Runat="server" Skin="Default" ID="RadAjaxLoadingPanel">
</telerik:RadAjaxLoadingPanel>
<telerik:RadGrid ID="RadGrid" runat="server" AutoGenerateColumns="False" AllowPaging="True"
AllowSorting="True" PageSize="10" AllowFilteringByColumn="true" AllowCustomPaging="True" ClientIDMode="AutoID">
<mastertableview ClientIDMode="AutoID">
</mastertableview>
</telerik:RadGrid>