Hi
I just started a new project were ASP.NET Ajax Teleriks components are used.
We use a RadGrid to present the result of a db search and a simple ASP.NET Button ctrl to submit the search. This button is, as I understand it, ajaxified:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
DefaultLoadingPanelID="RadAjaxLoadingPanel1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="buttonSearch">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rgCustomers" />
</UpdatedControls>
</telerik:AjaxSetting>
....
rgCustomers is the ID of the RadGrid ctrl.
When this button is pressed on error occurs:
Uncaught TypeError: Cannot read property 'id' of undefined
The callstack is:
Telerik.Web.UI.RadAjaxControl._initializeRequestScriptResource.axd:107
Type$callBaseMethodScriptResource.axd:1261
Telerik.Web.UI.RadAjaxManager._initializeRequestScriptResource.axd:662
$type.createDelegateScriptResource.axd:628
$type.getHandlerScriptResource.axd:4338
Observer$raiseEventScriptResource.axd:2685
PageRequestManager$_onFormSubmitScriptResource.axd:1355
PageRequestManager$_doPostBackScriptResource.axd:911
$type.createDelegateScriptResource.axd:628
WebForm_DoPostBackWithOptionsWebResource.axd:42
PageRequestManager$_doPostBackWithOptionsScriptResource.axd:916
$type.createDelegateScriptResource.axd:628
(anonymous function)Customers.aspx:1217
onclick
and the RadGrid is not updated dispite that AjaxRequest event fired, an updated datasource was set and DataBind() method of the RadGrid ctrl was called.
I should say that everything works if you tab to the button and then press enter. And after this even mouse clicks works.
Problem seem to occur using all browsers (IE,FF,chrome)
Any ideas?
Thanks
I just started a new project were ASP.NET Ajax Teleriks components are used.
We use a RadGrid to present the result of a db search and a simple ASP.NET Button ctrl to submit the search. This button is, as I understand it, ajaxified:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
DefaultLoadingPanelID="RadAjaxLoadingPanel1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="buttonSearch">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rgCustomers" />
</UpdatedControls>
</telerik:AjaxSetting>
....
rgCustomers is the ID of the RadGrid ctrl.
When this button is pressed on error occurs:
Uncaught TypeError: Cannot read property 'id' of undefined
The callstack is:
Telerik.Web.UI.RadAjaxControl._initializeRequestScriptResource.axd:107
Type$callBaseMethodScriptResource.axd:1261
Telerik.Web.UI.RadAjaxManager._initializeRequestScriptResource.axd:662
$type.createDelegateScriptResource.axd:628
$type.getHandlerScriptResource.axd:4338
Observer$raiseEventScriptResource.axd:2685
PageRequestManager$_onFormSubmitScriptResource.axd:1355
PageRequestManager$_doPostBackScriptResource.axd:911
$type.createDelegateScriptResource.axd:628
WebForm_DoPostBackWithOptionsWebResource.axd:42
PageRequestManager$_doPostBackWithOptionsScriptResource.axd:916
$type.createDelegateScriptResource.axd:628
(anonymous function)Customers.aspx:1217
onclick
and the RadGrid is not updated dispite that AjaxRequest event fired, an updated datasource was set and DataBind() method of the RadGrid ctrl was called.
I should say that everything works if you tab to the button and then press enter. And after this even mouse clicks works.
Problem seem to occur using all browsers (IE,FF,chrome)
Any ideas?
Thanks