All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
protected
void
RadGrid1_PreRender(
object
sender, EventArgs e)
{
foreach
(GridEditableItem edititem
in
RadGrid1.MasterTableView.GetItems(GridItemType.EditItem))
(GridColumn col
RadGrid1.MasterTableView.RenderColumns)
if
(col.ColumnType ==
"GridBoundColumn"
)
//Checking for BoundColumn
(edititem.IsInEditMode)
TextBox txtbx = (TextBox)edititem[col.UniqueName].Controls[0];
txtbx.Width = Unit.Pixel(60);
//Setting width
}
"GridNumericColumn"
//Checking for NumericColumn
RadNumericTextBox txtbx = (RadNumericTextBox)edititem[col.UniqueName].Controls[0];
txtbx.Width = Unit.Pixel(50);