IT Community - Software Programming, Web Development and Technical Support

How to disable themes for a page and control?

This is a discussion on How to disable themes for a page and control? within the ASP and ASP.NET Programming forums, part of the Web Development category; How to disable themes for a page and control?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-25-2007, 01:33 AM
theone theone is offline
D-Web Sr.Programmer
 
Join Date: Jun 2007
Posts: 129
theone is on a distinguished road
Question How to disable themes for a page and control?

How to disable themes for a page and control?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 01:34 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: How to disable themes for a page and control?

Set the EnableTheming attribute of the @ Page directive to false, as in this example:
<%@ Page EnableTheming="false" %>

Set the EnableTheming property of the control to false, as in this example:
<asp:Calendar id="Calendar1" runat="server" EnableTheming="false" />
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
'Page' ia an unambiguous reference between 'System.Web.UI.Page' and 'Project1.Page' poornima ASP and ASP.NET Programming 1 03-05-2008 03:12 AM
detect hour of the day and selects a link, they go to either a day page or night page itbarota HTML, CSS and Javascript Coding Techniques 1 01-11-2008 02:09 AM
How can I disable links and buttons till the page is loaded? kingmaker HTML, CSS and Javascript Coding Techniques 1 10-15-2007 03:13 AM
use of Custom Control and User Control? a.deeban ASP and ASP.NET Programming 1 08-20-2007 08:25 AM
"Press SPACEBAR or ENTER to activate and use this control" how to disable this oxygen ASP and ASP.NET Programming 1 07-21-2007 03:01 AM


All times are GMT -7. The time now is 10:11 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0