ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is the difference between User Controls and Master Pages
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between User Controls and Master Pages
Answer
# 1
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 ?    3 Yes 1 No
Venkatesh
 
  Re: What is the difference between User Controls and Master Pages
Answer
# 2
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 ?    0 Yes 1 No
Vdk
 
 
 
  Re: What is the difference between User Controls and Master Pages
Answer
# 3
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 ?    2 Yes 1 No
Jiten
 
  Re: What is the difference between User Controls and Master Pages
Answer
# 4
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 ?    0 Yes 0 No
Suresh Kumar
 
  Re: What is the difference between User Controls and Master Pages
Answer
# 5
I Think Both are same but key difference is that , we can
not use mater page in user control................
 
Is This Answer Correct ?    0 Yes 0 No
Surender Sardana
 
  Re: What is the difference between User Controls and Master Pages
Answer
# 6
master pages can not be cached.
user controls can be cached .
 
Is This Answer Correct ?    0 Yes 0 No
Ashish
 
  Re: What is the difference between User Controls and Master Pages
Answer
# 7
Some times Javascript function may not work in master pages.
but in User controls, v can do server side code as well as 
java script code.
 
Is This Answer Correct ?    0 Yes 0 No
Sri29
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is pre-init event in ASP.NET 2.0 page life cycle? Fulcrum-Logic1
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed. Syntax-Softtech2
Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version? Wipro1
How can you provide an alternating color scheme in a Repeater control?  1
what is purpose of xml control in standard controls of asp.net  1
what is caching,session? when & what is used mostly in which situtations, how they r implemented in real time? tell with example? Satyam1
You are creating a Web site for Your company. You receive product lists in the form of XML documents. You are creating a procedure to extract information from these XML documents according to criteria that your users will select. When a user makes a request, you want the results of these requests to be returned as quickly as possible. What should you do? A . Create an XmlDataDocument object and load it with the XML dat Use the DataSet property of the object to create a DataSet object. Use a SQL SELECT statement to extract the requested dat B . Create an XmlDataDocument object and load it with the XML data. Use the SelectNodes method of the object to extract the requested data. C . Create an XPathDocument object and load it with the XML data. Call the CreateNavigator method to create an XPathNavigator object. Call the Select method of the XPathNavigator object to run an XPath query that extracts the requested data. D . Create an XmlReader object. Use the Read method of the object to stream through the XML data and to apply an XPath expression to extract the requested data. Syntax-Softtech1
Contrast the use of an abstract base class against an interface?  4
What are PDBs? Where must they be located for debugging to work?  2
True or False: A Web service can only be written in .NET?  2
Should validation (did the user enter a real date) occur server-side or client-side? Why?  2
What is caching? What are the different types of caching?  3
wt is repeater control and wt is datalist control and wt defferences these two? i want some code in datalist?  1
How would you get ASP.NET running in Apache web servers - why would you even do this?  1
Types of caching ? TCS3
We have 2 sites in which one site allows the user with out asking credentials and second one ask for credentials through a log page. What might be the configurations settings for both sites? We can use IIS and web.config files together. ADITI1
Compare and contrast between inline and code behind - which one is best?  1
What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp)? Net-Solution1
What is the need of client side and server side validation ? Keane-India-Ltd1
What was the difference between machine.config and web.config files Assurgent7
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com