Hello,
Try with the following code:
Additionally for more information about accessing cells and rows you can refer to the article below:
http://www.telerik.com/help/aspnet-ajax/grid-accessing-cells-and-rows.html
Regards,
Pavlina
Telerik
Try with the following code:
Protected
Sub
RadGrid1_ItemDataBound(sender
As
Object
, e
As
GridItemEventArgs)
If
TypeOf
e.Item
Is
GridEditableItem
AndAlso
TryCast(e.Item, GridEditableItem).IsInEditMode
Then
Dim
item
As
GridEditableItem = TryCast(e.Item, GridEditableItem)
Dim
txt
As
TextBox =
DirectCast
(item(
"Description"
).Controls(0), TextBox)
'accessing GridBoundColumn
txt.Width = Unit.Pixel(50)
'you can set the column with in Percentage
End
If
End
Sub
Additionally for more information about accessing cells and rows you can refer to the article below:
http://www.telerik.com/help/aspnet-ajax/grid-accessing-cells-and-rows.html
Regards,
Pavlina
Telerik
See What's Next in App Development. Register for TelerikNEXT.