[Asp.Net 2.0] Skin question

S

Steve B.

Hi,

The BoundField element in the gridview control provide a property
ItemStyle-Wrap that allow to control if the text can wrap in the outputed
cell.

Since I want this to be the default behaviour, I wanted to add it in the
skin file of the app using something like this :

<asp:GridView

runat="server">

<Columns>

<asp:BoundField ItemStyle-Wrap="false" />

</Columns>

</asp:GridView>



However, as soon as this code snippet is written in the skin file, the
gridviews output a empty grid (rows "TR" and cells "TD" are created, but
empty).



Is what I did a correct operation ? Is there any other way to reach my goal
?

Thanks in advance,

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top