CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 1/7/2008 10:55:26 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 33 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
aspdotnetuservi
Asp.Net User
Creating pages with some pre-defined layouts1/7/2008 10:55:26 AM

0/0

Our requirement is, user should be able to create new pages by selecting one of the pre-defined layout/template. Each layout/template defines a page with Image and Text Controls. When a new page is created, these Image & Text Controls will be empty and then the user will populate these controls and corresponding data will be stored in the database. Can some one suggest the best approach for doing this?

 thanks in advance

ca8msm
Asp.Net User
Re: Creating pages with some pre-defined layouts1/7/2008 1:54:35 PM

0/0

You could create a separate sheet sheet for each layout and then just load the relevant one at runtime. Alternatively, you could create a separate Master Page for each template and load that at runtime.


Mark,
http://aspnetlibrary.com
http://mdssolutions.co.uk - Delivering professional ASP.NET solutions
http://weblogs.asp.net/marksmith


Please remember to click "Mark as Answer" on this post if it helped you.
aspdotnetuservi
Asp.Net User
Re: Creating pages with some pre-defined layouts1/7/2008 2:28:41 PM

0/0

Mark,

Do you mean, create a separate aspx page as per the layout?

Can you please provide some pointers/URLs for this?

thank you

ca8msm
Asp.Net User
Re: Creating pages with some pre-defined layouts1/7/2008 2:37:46 PM

0/0

No, I mean create a separate Master Page or style sheet (not .aspx page). Either option will work. 


Mark,
http://aspnetlibrary.com
http://mdssolutions.co.uk - Delivering professional ASP.NET solutions
http://weblogs.asp.net/marksmith


Please remember to click "Mark as Answer" on this post if it helped you.
Amanda Wang - M
Asp.Net User
Re: Creating pages with some pre-defined layouts1/9/2008 3:06:59 AM

0/0

Hi,

One solution, you can create a simple page with the common controls, then you can copt its aspx code to the new page that you just created. Of course, it is a little stupidity. :P 

But I would stang suggest that you try to use the master page.

In ASP.NET 2.0,  the master page is used to store the common pieces of the pages. the master page serves as a template for one or more web forms. Each ASPX web form only needs to define the content unique to itself, and this content will plug into specified areas of the master page layout.

The more about the master page, you can read this article: Master Pages In ASP.NET 2.0  

You can can read this article to understand how the master page works: http://www.odetocode.com/Articles/450.aspx

 

Hope this help.


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
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Web Design in a Nutshell: A Desktop Quick Reference Authors: Jennifer Niederst, Jennifer Niederst Robbins, Pages: 618, Published: 2001
The World Wide Web for Scientists & Engineers: A Complete Reference for Navigating, Researching & Publishing Online Authors: Brian J. Thomas, Pages: 357, Published: 1998
Occupational Outlook Handbook Authors: The United States Department of Labor, Pages: 696, Published: 2006
Absolute Beginner's Guide to Computer Basics Authors: Michael Miller, Pages: 430, Published: 2007
Graphic Artists Guild Handbook: Pricing & Ethical Guidelines Authors: Graphic Artists Guild, Graphic Artists Guild, Pages: 334, Published: 2007
Building a Web Site for Dummies Authors: David A. Crowder, Pages: 384, Published: 2000
Handbook of Technical Writing Authors: Gerald J. Alred, Charles T. Brusaw, Walter E. Oliu, Pages: 639, Published: 2006
Starting an Online Business for Dummies Authors: Greg Holden, Pages: 408, Published: 2002
Web Style Guide Basic Design Principles for Creating Web Sites Authors: unknown, Pages: 0, Published: -1

Web:
Winston Prakash's Weblog : weblog I was thinking, how nice it would be if Visual Web provides some predefined Page Layouts for the users to select when they create their pages. ...
NetBeans Wiki: VW_PageLayoutTemplates It would be nice if Netbeans could provide some predefined page layouts for the users to select when they create their web pages. ...
Create a publishing page layout - SharePoint Designer - Microsoft ... Nov 6, 2008 ... This article also shows you how to create a page layout content type and ... Content types are defined in the top-level site and are stored ...
Creating Page Layouts with View Master Pages : The Official ... In this tutorial, you learn how to create a common page layout for ... This class is defined in the style sheet declared at the top of the master page. ...
novolocus.com » Modify the RichHTMLField control on your page layouts Mar 17, 2008 ... What would be good would be to have a number of pre-defined styles, and lock out the other control ... 4) Make sure you’ve selected some text, then choose a style: ... Creating Pages with the Document Conversions Service ...
Tables Create Page Layouts: Professional Page Layouts With Tables Auto Fit; Auto Format; Boarders – all, none or some; Calculations ... Try the Auto Formatting options, there are many pre-designed color schemes and ... Permission to republish Tables Create Page Layouts in print or online must be ...
Making the Layouts section of the "Create Page" page easier to read Apr 2, 2008 ... Its always frustrated me that the list box on the "Create Page" page ... I did add some code to sort the entries, but this messes it all up ...
Create-page layout Jan 1, 2005 ... I am using a pre-release build of Create 12.1 ( this dates this as the ... For the odd and even master layers, I'm going to add some text and page numbers. ... I do talk about page layout in earlier versions of Create in ...
How to Create Page Layouts in GoLive CS2 > Layout grid-based designs Oct 13, 2006 ... In this lesson you will discover how to create HTML page layouts using a variety of GoLive methods, including the new GoLive CS2 layout grid ...

Videos:
Test Video Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the ...
Nvu: Formatting Application: Nvu - Formatting pages and page content.
Social Distortion (Zach V) www.myspace.com/DVLH Social Distortion (sometimes referred to simply as Social D) is an American punk rock band formed in 1978 in Orange County ...




Search This Site:










unable to work using localhost

syntax for databinder.eval statements

display values from arraylist

mappath problem

displaying a text file from a database

problem with session variable after postback

using data retrieved from a database

passing multiple values from dd and hyperlink!

bugs or how the way they are

ecommerce application problem

asp.net and sql

video files

how to show data from the database in a special way

making time zone adjustment - webserver in different country from audience

mouse over on hyperlink with an image

internet explorer problem with vb.net

access denied

using http web request to download file

ole db connections

site not working in firefox

does rendering a label control makes overhead than rendering a <td> tag with runat=server ?

how to create an addin in asp.net

reading a file from a specific location

c# and asp.net forms.

webform and inheritance

asp links to images

publish web site error - file 'src' is not a valid here because it doesn't expose a type

panel navigation issues

access values in a page from a user control?

back up all the necessary folder/files

  Privacy | Contact Us
All Times Are GMT