ASP.NET - how to decrease width of gridview of particular column?

Asked By sunil pandey on 03-Feb-12 11:37 PM
Hi all

i am using controlstyle-width="50%" in boundfield but width is not decreasing
D Company replied to sunil pandey on 04-Feb-12 12:10 AM
Hello Friend.

for the bound field the best option would be "ItemStyle". apply it and see the result, if still it is not displaying properly than include HeaderStyle as well.

Regards
D
dipa ahuja replied to sunil pandey on 04-Feb-12 03:42 AM
Hi..

Click on the smart tag of GridView--> Choose Edit Columns --> now in the dialog box: