<
httpHandlers>
<
add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2"/>
<
add verb="POST,GET" path="csharpwrapper/*.ashx" type="Ajax.PageHandlerFactory, Ajax"/>
<
add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax"/>
</
httpHandlers>
<
httpModules>
<
add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2"/>
</
httpModules>
<
httpRuntime maxRequestLength="102400" executionTimeout="600"/>
Thanks in advance for any help.
RadGrid_UpdateCommand event like this:protected void RadGrid1_UpdateCommand(object sender, GridCommandEventArgs e){ GridEditableItem editItem = (GridEditableItem)e.Item; //extract the edited values in a Hashtable Hashtable values = new Hashtable(); editItem.ExtractValues(values); //get the saved old values before editing Hashtable oldValues = (Hashtable)editItem.SavedOldValues; //insert data to Database //... }function
CloseRadWindowPostback(sArgument) {
ctl00_ctlAjaxManager.ajaxRequest(sArgument); // failure occurs here
var oWindow = GetRadWindow();
oWindow.close();
}
Just to be clear, the value "sArgument" is set to a string, and for the sake of testing I have eliminated the jQuery find logic, and used the clientID of the ajax manager control directly in the JS code.
The dialog form is created with a Master page containg the RadAjaxManager control, and viewing the source of the dialog form shows that the ajax manager object exits:
<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$ctlScriptManager', document.getElementById('aspnetForm'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tctl00$ctlAjaxManagerSU'], [], [], 90);
//]]>
</script>
<!-- 2010.2.826.35 --><div id="ctl00_ctlAjaxManagerSU">
<span id="ctl00_ctlAjaxManager" style="display:none;"></span>
Why is the ajaxRequest code failing?
