Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 24th, 2012, 03:09 PM
Authorized User
 
Join Date: Apr 2012
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Armaan
Default The

Sir
i have removed the styleSheetTheme from web.config, then the total color is removed from the pages, and with monochrome theme , when i set both the them and styleSheetTheme all the pages work well. in case of DarkGrey only the header image does not display other colors are set.
here is the code of web.config and my default page.
web.config
Code:
<?xml version="1.0"?>
<configuration>
	<system.web>
    <pages theme="DarkGrey">
    </pages>
		<compilation debug="true" targetFramework="4.0"/>
	</system.web>
</configuration>
default page
Code:
<%@ Page Title="Default Page" Language="C#" MasterPageFile="~/site/MasterPages/Frontend.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="site_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpMainContent" Runat="Server">
  <div id="MainContent0">
    <h1 class="Introduction">
      Hi there visitor and welcome to Planet Wrox</h1>
    <p class="Introduction">
      We're glad you're paying a visit to <a href="http://www.PlanetWrox.com">
      www.PlanetWrox.com</a>, the coolest music community site on the Internet.
    </p>
    <p>
      Feel free to have a <a href="Default.aspx">look around;</a> there are lots of 
      interesting <strong>reviews and concert pictures</strong> to be found here.
    </p>
    <p>
      You can <a href="../Login.aspx">log in</a> here.</p>
  </div>
</asp:Content>
 
Old April 24th, 2012, 03:40 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Please continue an existing thread by hitting the Reply button rather than starting a new thread if you want to post a follow up.

Also:

Quote:
If that's not the case, can you post the full code for the Master Page (Markup and Code Behind), the BasePage and the page you're testing this on?
Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.