CodeVerge.Net Beta


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




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 6/27/2007 7:27:00 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 162 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
rohit_kochar
Asp.Net User
Difference between user control and master page ?6/27/2007 7:27:00 PM

0

Hi ,

There is a lot of similarity between user controls and master pages ????

Please tell me the difference between user controls and master pages??Will evolution of master pages will

eliminate user controls totally?? where we should use both of them??

Regards,

 

dt008
Asp.Net User
Re: Difference between user control and master page ?6/27/2007 7:55:42 PM

0

Master Pages are basically for graphical layout. Pages in your site can "inherit" Master Pages (wrong word, but you get the idea) and share a common layout. User Controls are basically for common objects in your web site, or to separate some logic of a web page.

Both "technologies" are great, each one for its own purposes. User Controls didn't prove themselves too good for graphical layout purposes Smile


Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!

My blog: Scenes From A Developer Memory
Dave Sussman
Asp.Net User
Re: Difference between user control and master page ?6/28/2007 1:59:50 PM

0

The key is that Master Pages provide the common content that should be applied to all pages in a site; or at least, all pages that use it. For example, it's very common to require a logo, a menu, etc, on all pages, and a master page is ideal for this; you design the master page with these common elements on them and then every page automatically gets this content too.

A user control is intended for reusable content, wrapping up small bundles of functionality that is to be reused on multiple pages. For example, wrapping a few labels and text boxes (name, address, post code,e tc), which are required on several, but not all pages.

Dave

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Asp .Net 2.0 Website Programming Authors: Marco Bellinaso, Pages: 0, Published: -1
ASP.NET 2.0 Website programming: problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Foundations of Microsoft Expression Web: The Basics and Beyond Authors: Cheryl D. Wise, Pages: 370, Published: 2007
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1464, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005

Web:
What is the difference between User Controls and Master Pages Re: What is the difference between User Controls and Master Pages. Answer # 9, user control 1)it extension is .ascx. 2)it can be more than one on single web ...
Difference Between Usercontrol & master Pages in ASP.NET MasterPage and UserControl is the same in terms of the ease of maintenance and development. However, a MasterPage act as a template and ...
Difference between user control and master page ? - ASP.NET Forums Please tell me the difference between user controls and master pages??Will evolution of master pages will. eliminate user controls totally?? ...
CodeGuru: Using Master Pages Aug 31, 2006 ... A key difference between the two is that the use of master pages is reserved ... experience including rendering of user control content, ...
Difference between Master Page and user control hi, can some one explain me the difference between Master page and User Control. Thanks in ....

Difference between user control and master page ? - ng.asp-net ... Difference between user control and master page ?, > ROOT > NEWSGROUP > Asp.Net Forum ...
calling Master Page Method from User control - ng.asp-net-forum ... I donot think you can call the master page from user control directory. ... Difference between user control and master page ? - ng.asp-net . ...
Master Pages - User Control - Refresh - ng.asp-net-forum ... Difference between user control and master page ? - ng.asp-net ... Will evolution of master pages will. eliminate user controls totally?? ...
How to access a control in master page?,2 - ng.asp-net-forum ... Difference between user control and master page ?, > ROOT > NEWSGROUP > Asp.Net Forum ... how to access, c# class functions written in . ...
ContentPlaceHolder: Loading user control(ascx) file in ... yeah, its true, if we are going to add only one user control in content place holder. .... Difference between user control and master page ? ...

Videos:
Exploratory Testing Google Tech Talks March 16, 2006 Jon Bach
Using ROSE to Mitigate Performance Trade-offs Google TechTalks April 03, 2006 Daniel Quinlan ROSE is a tool for building source-to-source transformation tools for the optimization of C ...
Charlie Rose - Tim Russert / Boone Pickens Segment 1: Tim Russert, moderator of "Meet The Press" discusses his new book, "Wisdom of Our Fathers". Segment 2: A conversation about energy ...
Charlie Rose - Judy Woodruff & Mike Allen / Wole Soyinka ... Segment 1: Guest host Judy Woodruff talks politics with Mike Allen of Time magazine. Segment 2: Nobel laureate Wole Soyinka talks with guest ...
Exploratory Testing Google Tech Talks March 16, 2006 Jon Bach






attach a javascript file

master page and forms

javascript not working with master pages

sitemap error

adding script tags to masterpage header

menu control, selecting item programitcally

sitemap path does not work

controlling masterpage table cells

datasource navigator ????

[2005] some css styles not working when used in a theme

css for master

master page headaches!!

making the menu within my master page unmovable

tree view - not upto the requirements

sitemap.currentnode == null - always!

how to apply theme to masterpages

readmore button

tree view, saving state & using node links as expand and collapse

can i change a treeview's text size depending on what my browser's text size is set to?

javascript body-onload

asp.net 2.0 menu control tutorials/documentation?

c# coding problem

master/ content page: how to invoking button click event?

webmenu and enable security by roles

clear the checkednodes in a treeview

masterpage full postback and the order of events..

simple menu navigation image question

fit in browser

content page in design mode

event inside masterpage and a cached content page

   
  Privacy | Contact Us
All Times Are GMT