I would have my Gridview User Control In gray frame(its div tag) whether Gridview is in editmode or not, I did use Gridview’s Width and Styles but it didn’t work.
How do I do this?
.GridViewStyle
{
/*It didn't work*/
width:50%;
}
Gridview when its in edit mode

Gridview when its not in edit mode

The issue is certainly the size of the
<input />text boxes when in edit modeAdd the
<EditRowStyle>element to your gridview to give the edit row a CSS classNow you can control the size of the textboxes with CSS