Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between User Controls and Master Pages

Answers were Sorted based on User's Feedback



What is the difference between User Controls and Master Pages..

Answer / suresh kumar

i think you can aslo page apply used with master page...
but control is only providing the add control not page...

Is This Answer Correct ?    12 Yes 9 No

What is the difference between User Controls and Master Pages..

Answer / vidit tyagi

user control
1)it extension is .ascx.
2)it can be more than one on single web page.
3)it doesn't contain Contentplaceholder.
4)it doesn't work like a fixed template.it can be
display in diffrent manner in diffrent page.
MasterPage:
1) it extension is .Master.
2)it used like a template.
3)it contain ContentPlaceHolder

Is This Answer Correct ?    4 Yes 1 No

What is the difference between User Controls and Master Pages..

Answer / dhina

In dotnet 1.1, developers where using user controls for the
website navigation, footers which were standard for all the
web pages, this was covered in 2.0 as master pages.

Is This Answer Correct ?    2 Yes 0 No

What is the difference between User Controls and Master Pages..

Answer / e l v prasad

Master Page:
1. It is a template and however it has all the events as
applicable to the web page.
2. It can be designed in one language and can be used for
the web pages of all the .NET supported languages.
3. Master Page can be assigned in web.config file so that
the web pages in the project will automatically use Master
page.
4. Master Page can be used for web page within a specific
folder by declaring a web.config file for that.
5. Master Page contents in the Content Page will be
displayed while working with the application.
6. Master Page contents which not editable in the Content
Page will be displayed in the gray color.
7. Duplication of templates is not possible with the master
pages.

User Control:

1.It is designed from the existing controls in the .NET. It
has to be registered witha @Regisgiter page directive.
2.Designing of User control in one language and can't be
used in web pages of all the .NET compliant languages.
3. It must be registered in each and every web page, where
it has to be used.
4. There is no scope to use the User Control to a web pages
within a specific folder or project like Master Page
5. User Control contents will not be displayed during
design time.
6. All the User control contents will appear in web pages
as gray color and there is no scope to change editable
template contents as in Master Pages.
7. There is a possibility of duplication in web pages with
the User Controls

Is This Answer Correct ?    2 Yes 1 No

What is the difference between User Controls and Master Pages..

Answer / romit & kalpesh

master page is used when you want consistant look.
whereas user control is used to create your own control
using asp.net built-in control.

Is This Answer Correct ?    4 Yes 4 No

What is the difference between User Controls and Master Pages..

Answer / brijesh pandey

Master page have content place holder and in master page we
can't implement bussiness logic but in web user control we
can implement bussiness logic.

Is This Answer Correct ?    2 Yes 2 No

What is the difference between User Controls and Master Pages..

Answer / ramkumar

Master pages are easy to use and can be nested. where as
user control this tasks are typical.

Is This Answer Correct ?    1 Yes 1 No

What is the difference between User Controls and Master Pages..

Answer / ramesh

master page is pure ajax enabled technology ,we can post some particular part of the page using master page

Is This Answer Correct ?    1 Yes 1 No

What is the difference between User Controls and Master Pages..

Answer / dushyant

basicaly master page is used to page layout,it means master
page will common to all page but it not 4 user cantol

Is This Answer Correct ?    1 Yes 2 No

What is the difference between User Controls and Master Pages..

Answer / fuad

I look for the answer of this question too. I have project
in ASP.NET 1.1 in this project there is just one aspx. in
this page there is placeHolder and by client's reuqest page
loads different user controls into the placeHolder. the aspx
file likes MasterPage. now i converted the project into
ASP.NET 3.0. I don't know should i change the aspx file to
master and user controls to content pages or not??

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More ASP.NET Interview Questions

Life cycle of ASP.NET page when a request is made ?

4 Answers   MMTS,


How to do Forms authentication in asp.net?

2 Answers  


When using the Pager object, inorder to know which page to go, which property you have to set to grid?

0 Answers   Siebel,


How long does an http session last?

0 Answers  


where should write the connection string Show that it will apply whole pages in the website

5 Answers   Symco,


Explain what are the advantages of asp.net mvc framework? : asp.net mvc

0 Answers  


What is the lifespan for items stored in ViewState?

4 Answers   Siebel Systems,


When is validation done on the client? How does client-side validation improve the efficiency of an application?

1 Answers  


How can I create master page in asp net?

0 Answers  


Where we create sessions for Banking Applications and how to create? expalin with code?

1 Answers   Wipro,


Is it necessary to undertsand these events of an ASPX page execute. Explain its importantance?

2 Answers   HCL, Siebel,


web farm .. how does session shuld be stored... if inproc used? does the session persists from one server to other.

2 Answers   TCS,


Categories