Hi,
I have set ItemStyle-Wrap="True" and ItemStyle-Width="100", the width of my column seems to stay fixed at 100 pixels as long as the data in that column is less than 100 pixels wide. If one of the rows of the data has an item that does not fit in 100 pixels it stretches the column of the grid so that it fits around the data.
But I don't want it this way. What I want is that when column data in one of the rows goes beyond 100 pixels, it should warp to the second line in the datagrid's row.
I have set ItemStyle-Wrap="False" and ItemStyle-Width="100" for this column and also I have set the RowHeight=80px so that 2 or 3 lines of data can appear in one row of the datagrid but it is not working.
I even tried grdAllprod.Columns[1].ItemStyle.Width = 100;
in my codebehind file.
Pl. help me. Any help on this greatly appreciated as this is very-2 urgent.
Thanks n Regards,
tripps