473,325 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

[Asp.Net 2.0] Skin question

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
May 15 '07 #1
0 916

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: RichardF | last post by:
Can anyone get themes to work in asp.net 2.0? The page I have below always looks exactly the same whether I leave out the Theme directive, or whatever valid value I put for the Theme. If I put...
7
by: Frédéric Mayot | last post by:
Hi I'm trying to define a skin for a custom control. I can't see how to do it... My custom control inherits from a TextBox but it doesn't recognize the skinID defined for asp:TextBox. Any idea ?...
8
by: Jensen Bredahl | last post by:
Hello, This should be very basic but i'm having hard time finding the C# version of the starter kits. There is a link in the Visual Web Developer 2005 Express Edition but that only opens the VB...
10
by: Andrew | last post by:
Hi, friends, In our ASP app, we have a lot of style definitions in our .css file. Now, in asp.net, .css is encouraged to continue to use, or is better to be replaced by something new in .net???...
12
by: Michael | last post by:
Hello, I'm starting to use Themes. I skin some Web controls, like a WebPart and a CatalogPart. While browsing my Web page, I can see that the Theme is working, in VS 2005, in design view, I...
5
by: Quynh | last post by:
Hi, I have a question regarding themes and skins in ASP.NET 2.0. Since I have images in the application menu bar and since the menu bar is defined in the web.sitemap file, how could I apply a...
4
by: Ben | last post by:
Hi, I'm using images in my menu control. I have my menu setup based on this example: http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.menuitembinding.imageurlfield(VS.80).aspx ...
3
by: shapper | last post by:
Hello, Can't I use other control tags in my Asp.Net skin files? Thanks, Miguel
2
by: shapper | last post by:
Hello, I created an Asp.Net 2.0 which contains a custom control. I compiled the project and now I am using it in a web site. The custom control contains a Panel, a Label and an Image. ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.