How do I hide the label on the autogenerated edit form? Here's my code, It hide's the textbox but not the label in fornt of the textbox.
Can I add validation to the autogenerated edit form?
Also, does anyone have a recent code sample for using an external control as an edit form. I have tried to follow this along but I get confused because I am using a sql data source and a clean example with a standard datastore would help me learn much more.
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx
'Hide the planID on the automatic edit form
If TypeOf e.Item Is GridEditFormItem AndAlso e.Item.IsInEditMode Then
Dim editItem As GridEditFormItem = DirectCast(e.Item, GridEditFormItem)
Dim txtbxPlanID As TextBox = DirectCast(editItem("PlanID").Controls(0), TextBox)
txtbxPlanID.Visible = False
End If
Can I add validation to the autogenerated edit form?
Also, does anyone have a recent code sample for using an external control as an edit form. I have tried to follow this along but I get confused because I am using a sql data source and a clean example with a standard datastore would help me learn much more.
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx