Hello!
Ive come across a weird problem, Everytime I try to edit my form, the textboxes are in various width. Ive tried sorting this out by iterating thorugh Render.Columns and set the item.Width, with no result.
Eg something like this:
if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
foreach (GridEditFormItem EdItem in rgRadGrid1.Columns)
{
EdItem.Width = System.Web.UI.WebControls.Unit.Pixel(300);
}
}
Ofc this piece of code with yield errors due to the difference of GridEditFormItem and the columns from my rgRadGrid1.
Any idea how to solve this? I ve been stuck for the last hour:) Appreciate any help! (I've tried searching for a solution, but couldn't find anything.)
Ive come across a weird problem, Everytime I try to edit my form, the textboxes are in various width. Ive tried sorting this out by iterating thorugh Render.Columns and set the item.Width, with no result.
Eg something like this:
if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
foreach (GridEditFormItem EdItem in rgRadGrid1.Columns)
{
EdItem.Width = System.Web.UI.WebControls.Unit.Pixel(300);
}
}
Ofc this piece of code with yield errors due to the difference of GridEditFormItem and the columns from my rgRadGrid1.
Any idea how to solve this? I ve been stuck for the last hour:) Appreciate any help! (I've tried searching for a solution, but couldn't find anything.)