Looking at the samples, it seems real simple to do a response back after a RowUpdating serverside call using AJAX. Enable Ajax, set the OnRowUpdating call to point to the server and test the code. My function is called and I can easily cancel the update if conditions are met. Now I want to send back the response. Looking at the online sample : WebDataGrid -> Editing Rows - Server Events I see this example:
protected void WebDataGrid1_RowUpdating(object sender, Infragistics.Web.UI.GridControls.RowUpdatingEventArgs e) { string fieldToVerify = e.Values["CompanyName"].ToString(); if (string.IsNullOrEmpty(fieldToVerify)) { WebDataGrid1.GridResponse.Message = Resources.WebDataGridResources.UpdateRow_ServerMessageFailed; e.Cancel = true; } else { WebDataGrid1.GridResponse.Message = Resources.WebDataGridResources.UpdateRow_ServerMessageSuccess; } }
Easy for me to understand except when I go to code the response similiar in my app, I do not have access to GridResponse. I'm using net.Advantage 10.3. Is there something I'm missing to be able to set the GridResponse.Message property?
Hi dmwcincy,
I am not certain I understand what you are trying tyo achieve but you may find the following useful information in our documentation:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebDataGrid_Events.html
In case you wish to know more about handling Ajax Responses client-side take a look at the following article:
http://forums.infragistics.com/forums/p/53054/275208.aspx
Please contact me if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support