I have an ultrwebgrid bound to a sqldatasource. The UpdateRow event fires when I add a row, along with the AddRow event, but it does not fire when I update a row. I think I have all the AllowUpdate type fields set. The adding of rows run fine. I have taken out the paging to simplify. I can edit the lone updateable cell just fine. I have a multiple field primary key, but it is supposed to handle it as I input the fields, in the correct order, separated by commas in the DataKeyFields property. I have attached the pertinent markup and C# code.
Hi,
i am also facing same problem ,debugger not hitting to update Row event. Any resolution on this will help me to proceed further.
Note:in feature picker, I have enabled the AJAX for grid.
protected void UltraWebGrid1_UpdateRow(object sender, RowEventArgs e) {
}
Thanks for providing a sample project. I've taken a brief look at it, and at this point I don't have any insight as to what's causing what you've described.
I'm passing this information, including your sample, to Developer Support for further research. We'll create a support case for you, and follow up with details through that support case.
Sample to run and debug. I took out everything I could . Two MS-SQL tables with create SQL provided. One is just a foreign key dependency. You will have to put data in the tables. Please keep me updated on its status whether you guys do anything with it or not.
Thanks.
This occurs only once on not PostBack in PageLoad with the data being selected driven by a query string. The UtraGridView is getting the rows of data from the SqlDataSource SelectCommand which runs automatically via the sqldatasource when I do the sqldatasource.DataBind().
robertloucksjr2 said: Once when I get the values for the table key I do the below along with the SqlDataSource. This is only firing once as is proper. sqldsNote.SelectParameters["Identifier"].DefaultValue = tbVendID.Text; sqldsNote.DataBind(); uwgNotes.DataBind();
Once when I get the values for the table key I do the below along with the SqlDataSource. This is only firing once as is proper.
sqldsNote.SelectParameters["Identifier"].DefaultValue = tbVendID.Text;
sqldsNote.DataBind();
uwgNotes.DataBind();