Looking at the example here: http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultvb.aspx?show-source=true
Is there a way to not have the 2nd item in the list in edit mode/have the edit fields hidden on page load?
1 Answer, 1 is accepted
0
Eyup
Telerik team
answered on 27 Jan 2016, 11:54 AM
Hello Jamie,
Just remove the following logic which explicitly puts the item in edit mode:
Protected Sub RadGrid1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.PreRender
If Not IsPostBack And Me.RadGrid1.MasterTableView.Items.Count > 1 Then
Me.RadGrid1.MasterTableView.Items(1).Edit = True
Me.RadGrid1.MasterTableView.Rebind()
End If
End Sub
Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items