Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > anyone used master pages/themes

Reply
Thread Tools

anyone used master pages/themes

 
 
Stacey Levine
Guest
Posts: n/a
 
      05-10-2007
I am trying to develop an intranet site and thought I would use Master Pages
and themes. I found the the MS templates at
http://msdn2.microsoft.com/en-us/asp.net/aa336613.aspx and was trying to set
everything up. I created a Master page with three containers:
header, content, footer. I created another page and put a few things in the
content container. I set the theme option in the web.config. It appears to
be applying the theme to the labels that I set, but the background that
should be getting set for the header section isn't.
Does anyone have any ideas? Maybe a sample project using one of these
themes? Thanks.



Stacey

 
Reply With Quote
 
 
 
 
clintonG
Guest
Posts: n/a
 
      05-10-2007
http://odetocode.com is a website you want to visit.



"Stacey Levine" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am trying to develop an intranet site and thought I would use Master
>Pages and themes. I found the the MS templates at
>http://msdn2.microsoft.com/en-us/asp.net/aa336613.aspx and was trying to
>set everything up. I created a Master page with three containers:
> header, content, footer. I created another page and put a few things in
> the content container. I set the theme option in the web.config. It
> appears to be applying the theme to the labels that I set, but the
> background that should be getting set for the header section isn't.
> Does anyone have any ideas? Maybe a sample project using one of these
> themes? Thanks.
>
>
>
> Stacey
>



 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      05-11-2007
Hi Stacey,

Regarding on the Master page, it can help define some contentplaceholder
that can be override/custeomize in concrete page which applied this master
page. However, for Theme, it is always applying on concrete page(rather
than master page), or you can configure the Theme in web.config for all the
pages in this web application.

For the problem you mentioned (theme work for header section), would you
provide some further description? You may provide some template fragment of
your master page content, such as how to declare the label and the header
section that need to apply theme/skin.

BTW, for ASP.NET 2.0 Theme, are you using Theme or StyleSheetTheme? If
you're using StyleSheetTheme, make sure you haven't define default value
for any control's attribute in page template, this will cause the
StyleSheetTheme's value be overwrite.

Please feel free to post here if there is any other finding.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.




 
Reply With Quote
 
Stacey Levine
Guest
Posts: n/a
 
      05-11-2007
The main thing that I think is missing is the sample .master page for the MS
templates http://msdn2.microsoft.com/en-us/asp.net/aa336613.aspx

The documentation for each template seems to be generic for all of them. I
would like to have seen a sample site for each... or at least a .master
page. I am having issues trying to get my master set up correctly to match
what the template intended.

"Steven Cheng[MSFT]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Stacey,
>
> Regarding on the Master page, it can help define some contentplaceholder
> that can be override/custeomize in concrete page which applied this master
> page. However, for Theme, it is always applying on concrete page(rather
> than master page), or you can configure the Theme in web.config for all
> the
> pages in this web application.
>
> For the problem you mentioned (theme work for header section), would you
> provide some further description? You may provide some template fragment
> of
> your master page content, such as how to declare the label and the header
> section that need to apply theme/skin.
>
> BTW, for ASP.NET 2.0 Theme, are you using Theme or StyleSheetTheme? If
> you're using StyleSheetTheme, make sure you haven't define default value
> for any control's attribute in page template, this will cause the
> StyleSheetTheme's value be overwrite.
>
> Please feel free to post here if there is any other finding.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
>
> ==================================================
>
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscripti...ult.aspx#notif
> ications.
>
>
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscripti...t/default.aspx.
>
> ==================================================
>
>
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>
>


 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      05-15-2007
Thanks for your reply Stacey,

Not sure about the sample.master page you mentioned. Based on my local
test, for such a starter kit stie(the club site), it has a default.master
page for the whole web application. Is this the master page you need?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone used master pages/themes Stacey Levine ASP .Net 0 05-10-2007 04:23 PM
VB Master-Details Edit (Separate Pages), Response Redirect to Master Page Databinding Issue... Sam ASP .Net 0 07-20-2006 02:31 AM
Cross Page Post Back When Using Mixture of Master Pages and Non-Master Pages Jason@webbit.com ASP .Net 1 05-16-2006 02:00 PM
Master Pages Great! But what about Master User Controls? Electrified Research ASP .Net 5 10-11-2005 02:32 PM
seeking servlet "Master" keep getting "Master/servlet/Master" not found. Tomcat 5.0.25 Doug McCann Java 1 08-05-2004 09:16 PM



Advertisments