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 / nazrul

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 ?    51 Yes 3 No

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

Answer / venkatesh

Both are code reduce features and reusability Purpose.When
we create Masterpage that is common to overall
project,whereas user controls these r used when we have
requirement on specific criteria.
Master page ex: INBOX,SPAM,DRAFT,TRASH etc in YAHOO WEBSITE

Is This Answer Correct ?    53 Yes 11 No

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

Answer / jiten

Master has a conteact plceholder where u can put child page
in this cph.

when user control is uses with in page . u can not use any
page in user control

Is This Answer Correct ?    32 Yes 10 No

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

Answer / vdk

Master pages and user controils are two different concepts.

Master pages are used to provide the consistent layout and
common behaviour for multiple pages in your
applications.then u can add the Contenetplaceholder to add
child pages custom contenet.
User Controls:Sometimes u need the functionality in ur web
pages which is not possible using the Built-In Web server
controls then user can create his own controls called user
controls using asp.net builtin controls.User controlsn are
those with .aspx extensions and u can share it in the
application.

Is This Answer Correct ?    39 Yes 25 No

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

Answer / surender sardana

I Think Both are same but key difference is that , we can
not use mater page in user control................

Is This Answer Correct ?    21 Yes 7 No

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

Answer / ashish

master pages can not be cached.
user controls can be cached .

Is This Answer Correct ?    20 Yes 7 No

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

Answer / shaik mujahid

Master page inherits all child pages in contentplace holder
and usercontrol can be placed in master page

user control is a control which must be placed in a page to
perform specific task

Is This Answer Correct ?    15 Yes 2 No

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

Answer / jay

just a not :
this can be a tricky question depending on the interviewer.
Masterpage IS a UserControl, and you can easily check this
either by exploring classes to which websites are being
compiled or simply noting :
public class MasterPage : UserControl

semanticaly, use of classical UserControl and Masterpage is
of course different, but this already has been elaborated in
other answers

Is This Answer Correct ?    8 Yes 1 No

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

Answer / sandeep

Master page is just like a template and can be
reuse.

User Control provides structure,reuse ability and functionality

Is This Answer Correct ?    5 Yes 1 No

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

Answer / vimal katiyar

Master Page
1-extension .master
2- provide fixed layout and common behaviour in all
page of website
3-it contains content place holder
4-not contain cached

user control
1- .ascx
2- not fixed provide layout in each page
3- we use in master page also
4- not contain content placeholder

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Can a .net web application consume java web service?

0 Answers  


How to make paging concepts in datagrid in ASP.NET?

0 Answers   Sans Pareil IT Services,


Is it possible to use two versions of assembly at the same time?If possible explain with code?

3 Answers   Tech Mahindra,


What is a response cookie?

0 Answers  


What methods are fired during the page load?

7 Answers   InSync Tech-Fin, Siebel Systems, Visual Soft,


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

0 Answers   Siebel Systems,


What is & in a url?

0 Answers  


You create an assembly to access data in a relational database. This assembly will be used by several ASP.NET applications on your Web server. You need to ensure that all your applications can access the assembly. Which two actions should you take (Each Answer: presents part of the solution.)? (Choose two) A . Run the Assembly Registration tool (Regasm.exe). B . Run the String Name tool (Sn.exe). C . Run the Installer tool (Intallutil.exe). D . Run the Global Assembly Cache tool (Gacutil.exe).

6 Answers   CPCL, Syntax Softtech,


can we transfer data from one page to another page using viewstate if so how?if not y?

1 Answers   Patni,


How many web.config a application can have ?

6 Answers   Keane India Ltd, Manhattan, Vertex,


What is globalization and localization in asp net?

0 Answers  


What websites use asp.net?

0 Answers  


Categories