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: 3/26/2008 4:20:30 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 16 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
x_Vynel
Asp.Net User
How to create a multiple masterpage?3/26/2008 4:20:30 AM

0/0

when login into a user ABC role:Admin.

assuming webconfig is set

Response.redirect{"admin/Adminpage.master"}

is this okay or i need something else to make it better? 

david wendelken
Asp.Net User
Re: How to create a multiple masterpage?3/26/2008 5:46:44 AM

0/0

It is my understanding that master pages are not meant to be executed as a stand-alone page.  They are meant to be subclassed into a working page that you would then execute.

Of course, my understanding may be wrong. :)


 


If this answered your question, be sure to mark it as the answer. That way, everybody after you will know it's the answer also!
shayas
Asp.Net User
Re: How to create a multiple masterpage?3/26/2008 6:14:23 AM

0/0

x_Vynel:
Response.redirect{"admin/Adminpage.master"}

Master page is a common design and functional template

and it can't be accessed as web page

so do through this  and understand clearly about masterpage

http://weblogs.asp.net/scottgu/archive/2006/01/17/435765.aspx


Yasser
Please remember to mark as answers if this help
Amanda Wang - M
Asp.Net User
Re: How to create a multiple masterpage?3/28/2008 3:02:46 AM

0/0

Hi,

x_Vynel:
Response.redirect{"admin/Adminpage.master"}

In fact, you can not acess the master page directly, because the masterpage is drived from usercontrol class, when the application executes, the master page just like a user control that is on the content page. So, you can also say the master page is not a page.

The more about how the master page works, you can refer this greate article: http://www.odetocode.com/Articles/450.aspx

 

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
x_Vynel
Asp.Net User
Re: How to create a multiple masterpage?4/2/2008 12:27:16 AM

0/0

anyone have the sample code for multiple masterpage in C# coding.. 

Amanda Wang - M
Asp.Net User
Re: How to create a multiple masterpage?4/2/2008 2:16:03 AM

0/0

Hi,

You can try to refer this article: Multiple Masters Pages in ASP.NET Application

It is VB code, but you can use this tool convert it into the C# code, then have a debug: http://labs.developerfusion.co.uk/convert/vb-to-csharp.aspx

 

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Mastering Web Development with Microsoft Visual Studio 2005 Authors: John Paul Mueller, Pages: 822, Published: 2005
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
Beginning ASP.NET 2.0 in C# 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1148, Published: 2006
Microsoft Publisher 2007 for Dummies Authors: Jim McCarter, Jacqui Salerno Mabin, Pages: 366, Published: 2007
InDesign CS2 For Dummies Authors: Barbara Assadi, Galen Gruman, Pages: 386, Published: 2005
Using QuarkXPress 5 Authors: Suzanne Sayegh Thomas, Pages: 505, Published: 2002
Professional Community Server Themes Authors: Wyatt Preul, Benjamin Tiedt, Pages: 337, Published: 2007

Web:
How to create and use Master Pages in ASP.NET 2.0 Nov 1, 2006 ... A Master Page enables you to store the same content among multiple content pages in a website. You can use Master Page to create a common ...
Get the most out of multiple master pages - Publisher - Microsoft ... This article will discuss multiple master pages, how they work, and how to use them effectively to create consistently designed publications. ...
Ground Up: Master Pages in ASP.NET 2.0 Jul 24, 2006 ... You can create multiple master pages and use each one for a different purpose. Perhaps you have an annonymous guest master page and a member ...
Multiple Master Pages in one site - SharePoint University Is it possible in Sharepoint to have multiple master pages in one ... Once you create a Master Page it is stored in the Master Page gallery. ...
Multiple Master Pages - Inheritance? - .NET ASP #2: Re: Multiple Master Pages - Inheritance? Hi Rich, You can do what you want in ASP.NET 2.0. Create a master page say Site1.master ...
master pages and multiple revisions We create a new master page as before, including the date of the revision, ... The solution for my specific issue is to have multiple master pages. ...
How to create Master page in ASP.NET 2.0 Apr 25, 2007 ... Master page enable you to share the same content among multiple content pages in a website. We can use master page to create a common page ...
Dave Burke - Supporting Multiple Master Pages in BlogEngine.NET Aug 14, 2008 ... Supporting Multiple Master Pages in BlogEngine.NET is quite simple. ... The only thing left to do is create the contact.master page! ...
Flare Tip: Using Multiple Master Pages in a Help Target It tells you how you can use multiple master pages in a project. ... Create the master pages to be used in the project (Project > Add Master Page). ...
Master Pages in ASP.Net 2.0 - An Advanced Look Furthermore, if you have the need, you can even nest multiple Master Pages. For example, you can create one Master Page for the entire Web site and then ...




Search This Site:










insert webcam image on a web page

creating stub

themes and skins in vwd beta

modifiying event items

why dnn does not use dsfck as default htmleditorprovider ? it seems much butter then the actual ftb3 (compatible mozilla, ie7 beta !)

localizing account login module title

error after uploading personal site starter kit

treeview and pagestate

multiple instances of a web control and moduleid

wysiwyg

help with navigation menu and sitemap datasource

http 403 forbidden

flyout menus can disappear off the edge of the page

how i can change the theme?

help with passing masterpage variables

problems getting the parent node

siging in and out

multilanguage portal

hook-up with ad?

session problems with login/validating

how to query other sites and display the results

make properties of a control on masterpage public?

bredcrumbs question?

dynamically selecting master pages

accessing menu in masterpage from childpage

manage upload page

ml for dotnetnuke3.0 ?

dnn search textbox adjustments??

datagrid

asp .net: impersonation the best solution?

 
All Times Are GMT