473,399 Members | 2,159 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,399 software developers and data experts.

Theme skin for eachwebpart in webpartzone

Hi.
So, in a webpartzone I put 3 webusercontrols like the following code:

<asp:WebPartZone SkinID="wp1" ID="WebPartZone1" Runat="server" Height="75px"
Width="382px" DragHighlightColor="244, 198, 96" HeaderText="WebPart"
Padding="5" PartChromeType="TitleAndBorder">
<PartTitleStyle BackColor="LightSteelBlue"
ForeColor="Black"></PartTitleStyle>
<CloseVerb ImageUrl="~/images/icon_delete_over.gif"></CloseVerb>
<ZoneTemplate>
<uc1:WebUserControl1 Runat="server" ID="WebUserControl1_1" Title="UC1" />
<uc2:WebUserControl2 Runat="server" ID="WebUserControl2_1" Title="UC2" />
<uc3:WebUserControl3 Runat="server" ID="WebUserControl3_1" Title="UC3" />
</table>
</ZoneTemplate>
<RestoreVerb ImageUrl="~/images/icon_file_over.gif"></RestoreVerb>
<MinimizeVerb ImageUrl="~/images/icon_minimize.gif"></MinimizeVerb>
<PartStyle BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"
BackColor="WhiteSmoke" CellSpacing="0" CellPadding="0"></PartStyle>
</asp:WebPartZone>

How can I do a skin for each webpart in my ski file?
Here my test.skin file:
<asp:Label runat="server" ForeColor="red" Font-Size="14pt"
Font-Names="Verdana" />
<asp:button runat="server" borderstyle="Solid" borderwidth="2px"
bordercolor="MidnightBlue" backcolor="GhostWhite" Font-Size="10px"/>

Something like:
<asp:Webpart runat="server" ...

Thanks.

nail
Nov 18 '05 #1
0 1941

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

Similar topics

1
by: Patrick.O.Ige | last post by:
Any ideas how to have users select different color for a website in ASP.NET? Any artticles would be appreciated!
1
by: kfc1976 | last post by:
Hi All, First of all, following are the facts 1) I've been trying to solve the following issue for the past 8 hours (Not Kidding) 2) If I can't find the answer, It will drive me completely crazy...
0
by: damiensawyer | last post by:
Hello all, I'm very new to all of this. I have a theme and a skin (the standard ones). I have a standard master page which is holding a custom ascx which has a treeview in it. Can someone...
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 ...
0
by: Ashok | last post by:
Hi I have some issues in applying Themes to controls programatically, when controls are inside WebpartZone. I have put some controls inside WebpartZone, i want to apply themes and skin to those...
0
by: Brant Estes | last post by:
So try this. Create a new ASP.NET 2.0 website. Add a theme. Add a skin to the theme. In your web.config, add the <pages theme="MyTheme" styleSheetTheme="MyTheme" /tag under your system.web...
0
by: =?Utf-8?B?SGFyZHkgV2FuZw==?= | last post by:
Hi all, I am building a web site with theme support, under each theme's folder there are some images. Some of my images need to be skinned, I know I can build a skin file with line like ...
0
by: Jeff | last post by:
ASP.NET 2.0 I have problem with the markup and skin file below, this table isn't displayed. webpage <asp:Table ID="compose" SkinID="compose" runat="server"> <asp:TableRow> <asp:TableCell...
11
by: greg | last post by:
Hi all, Is there a way to get the current theme name at design time? I'm trying to write a custom control for which I need to use images from the current theme. I have asigned a theme to the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.