refresh when flypostback of any control

Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Johnny LeyvaMember
I select the option OnTheFlyPostBack a webgrid, the problem is that every time I click on a row, first reload the newly webgrid then enters the event

 

Protected Sub WebGrid1_RowChanged(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.RowChangedEventArgs) Handles WebGrid1.RowChanged WebGrid1.ClientAction.SetValue(TextBox1, e.Row.Cells.GetNamedItem(

Sub WebGrid1_RowChanged(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.RowChangedEventArgs) Handles WebGrid1.RowChangedWebGrid1.ClientAction.SetValue(TextBox1, e.Row.Cells.GetNamedItem("user").Text)

wgRoles.ClientAction.Refresh()

WebGrid1.ClientAction.RefreshModifiedControls()

End Sub

 

Is there any way to avoid the postback, but every time I select a row call WebGrid1_RowChanged event without reloading the webgrid.

Also if I have multiple controls ISDataSource, all refresh when flypostback of any control. Is there a way to control or prevent these updates

 

All times are GMT -5. The time now is 6:00 AM.
Previous Next