CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 12/25/2004 10:30:12 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 26 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
thona
Asp.Net User
Theming WebControls - how?12/25/2004 10:30:12 AM

0/0

I am in the need to theme a web-control. I can see that I can set a SkinId there, but when I add this to my skin:

::<%@ Register tagprefix="app" Tagname="WelcomeArea"
::Src="~/Application_Parts/WelcomeAreaPart.ascx" %>
::
::<app:WelcomeArea runat="Server" />

The starting app breaks with this error:

::Parser Error Message: The control type 'ASP.WelcomeAreaPart' cannot be themed.

Hm.

This is a total usual .ascx - anyone an idea how I can enable this to be skinned?

Thanks.
Thomas Tomiczek
PowerNodes ApS
(Microsoft MVP C#/.NET)
---
Building a Website? Try the PowerNodes CMS - http://www.powernodes.com/
richy_roo
Asp.Net User
Re: Theming WebControls - how?12/28/2004 8:37:30 PM

0/0

Thomas,

are you saying you cannot get the controls within a user control to be themed/skinned , ie an asp:textbox

or are you trying to add your own control to the .skin file?

Thanks
simoncal
Asp.Net User
Re: Theming WebControls - how?1/7/2005 10:06:58 PM

0/0

UserControls are not themeable by their very nature. However, any content (controls) that they contain will be themed naturally. You do not need therefore to add the register tag to the theme/skin file

Controls that extend from Control are not themeable by default, unless the class-level attribute is overriden, such as in WebControl.

Hope this helps
Simon
This posting is provided "AS IS" with no warranties, and confers no rights.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro C# 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1370, Published: 2007
Pro VB 2005 and the .Net 2.0 Platform Authors: Andrew Troelsen, Pages: 1034, Published: 2006
Pro VB 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1377, Published: 2008
Professional Web Parts and Custom Controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005
ASP. NET V. 2. 0-the Beta Version: The Beta Version Authors: Alex Homer, Dave Sussman, Rob Howard, Pages: 620, Published: 2004
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
ASP.NET 2.0: A Developer's Notebook Authors: Wei Meng Lee, Pages: 326, Published: 2005
Microsoft Visual C# 2005 Unleashed Authors: Kevin Hoffman, Pages: 692, Published: 2006
ASP.NET 2.0: Your Visual Blueprint for Developing Web Applications Authors: Chris Love, Pages: 339, Published: 2007

Web:
WebControl.EnableTheming Property (System.Web.UI.WebControls) Gets or sets a value indicating whether themes apply to this control. Namespace: System.Web.UI.WebControls Assembly: System.Web (in System.Web.dll) ...
Theme Class (Microsoft.SharePoint.WebControls) WebControls.SPControl Microsoft.SharePoint.WebControls.Theme. Thread Safety. Any public static (Shared in Visual Basic) members of this type are thread safe ...
ASP.NET Web Controls,Themes, and Master Pages NET theme engine provides a server-. side alternative to traditional client-side style sheets. Understanding the Nature of Web Controls ...
ASP.NET 2.0 Web Controls,Themes, and Master Pages NET 2.0 WEB CONTROLS, THEMES, AND MASTER PAGES. 916. Figure 26-23. The updated UI. Now be aware that you can only assign a theme programmatically during ...
Feedback: Can't asking Theme and Skins to Custom WebControls If you create a class that inherts from System.Web.UI.WebControls.TextBox and then use that custom WebControl it is not work with Skins or Themes. ...
SkinID not working on my custom web controls - ASP.NET Forums The lookup on my Theme default.css file works fine. ... Note that if I inherit from WebControl I don't actually need to implement BackColor ...
EPiServer.Web.WebControls Namespace An image web control that has sets the search path for the image based on theming. Translate. WebControl for language specific strings. UserSubscriptionInfo ...
Root Path WebControl - telerik Forum I'm trying the radpanel inside a webcontrol of DotNetNuke. ... In fact, if I see well the Outlook theme when running, I can't see it in ...
Download WebGadgets Web Controls for ASP.NET, WebGadgets Web ... Jun 18, 2008 ... The Web Control is Theme based, using CSS and Image files and can be customized for ... Professional set of WebControls for Picture Albums, ...
.NET Treats & Tricks Sample MasterPages, Themes, Skins, and CSS NET 2.0 Skins, Styles, Themes, and WebControls to create and modify GUI for Web Sites. I also provide for free eight ASP.NET 2.0 Themes. ...




Search This Site:










data type mismatch in criteria expression

how to know which contentpage is presently active

vs2005 and active directory

impt:security exception

the log file is full. back up the transaction log again!

looking for advice for asp.net application hosting - requirements and possiblr hosts??

playing a sound

how to fill a dataset?

syntax error in insert into statement

problem with opening .hxs file from visual studio.net 2005

windows authentication and error 401

fp 2000 to visual web developer express 2005-hosting requirements and uploading

clear the selected checkbox after an insert

force postback at page_load once

strange module bug

global functions in asp.net?

conversion from asp to asp.net

searching and retrieve an external site from asp.

converting string to a double

comparing dates

datediff dateinterval.month doesnt do what i expect!

create a webcrawler?

new to asp.net

need proffesional regex help

addusertorole not working correctly with custom sql membership provider

dnn 3 multiple portle setup help !!!

please help to novice. how to redirect page to other frame?

interaction between user control, aspx page

can i create 1.1 projects in vs 2005

bulk e-mail + account login + hidden tabs - dnn 2.1.2

 
All Times Are GMT