Hi,
I'm looking at the demo code for RadGrid (http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultvb.aspx)
and when I try to run it, I get a System.ArgumentOutOfRangeException error on:
Protected Sub RadGrid1_PreRender(sender As Object, e As EventArgs) Handles RadGrid1.PreRender
If Not IsPostBack Then
Me.RadGrid1.MasterTableView.Items(1).Edit = True <-- this line is throwing the error
Me.RadGrid1.MasterTableView.Rebind()
End If
End Sub
I haven't modified any of the demo code, and wondering how to fix this.
Thanks in advance.
I'm looking at the demo code for RadGrid (http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultvb.aspx)
and when I try to run it, I get a System.ArgumentOutOfRangeException error on:
Protected Sub RadGrid1_PreRender(sender As Object, e As EventArgs) Handles RadGrid1.PreRender
If Not IsPostBack Then
Me.RadGrid1.MasterTableView.Items(1).Edit = True <-- this line is throwing the error
Me.RadGrid1.MasterTableView.Rebind()
End If
End Sub
I haven't modified any of the demo code, and wondering how to fix this.
Thanks in advance.