I have a webgrid (8.2 CLR 3.5) in an update panel which is bound from the server side to a combination of data values and a generated column. The generated column is a checkbox type. When the user clicks on the checkbox, I expected the UpdateCell or Update Row event to be fired on the server side when the checkbox is checked/unchecked. I need to handle the update event on the server side due to the nature of what is happening.
Both Before and After CellUpdate is firing on the client, however this code is never being reached on the server side. However, page_load is reached, so I know that the postback is happening. Anyone have any thoughts? I have tried igtbl(needPostBack(gridName) on the client to force the issue, but that did not work either. I have verfied that code is being reached.
154 Protected Sub UltraWebGrid1_UpdateCell(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.CellEventArgs) Handles UltraWebGrid1.UpdateCell
155 Me.txtPM.Text = "Foo"
156 End Sub
Uh, nevermind. Stupid mistake. I was binding the webgrid too early. This in effect canceled out the server side event.
Alan, I'm having a similar issue. When should you bind to the webgrid to avoid the problem?