What is difference between masterpage and user control, what
is the objective of master page when we had user control in
.NET 1.1 version
Answers were Sorted based on User's Feedback
Answer / chinnu
Master page provides common structure and interface element
for your web site. MasterPage act as a template and merging
container for pages .
User Control just like other control, you can use it
anywhere on your page and as many as you want.
| Is This Answer Correct ? | 22 Yes | 7 No |
Answer / rajneesh hajela
1.master page define looks & feels and standard behaviour
in ur application.usercontrol we have to drag and drop
every page.so again-again designing issue can be.
2. Master Page works as a parent page.
3.with user control i can make assembly and use antother
project also.
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / rajesh gour
in master page u can't perform caching as well as u can't
apply theme.
but in user control u can apply theme also u can perform
caching on user control.
| Is This Answer Correct ? | 6 Yes | 19 No |
Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
5 Answers ADITI, Syntax Softtech,
In a webpage if i want to give access to only half page ,then what should i do?
What definition correctly defines a label server control with the name set to lblHoop? a) <asp:Label name=?lblHoop? runat=?server? /> b) <Label id=?lblHoop? runat=?server? /> c) <asp:Label id=?lblHoop? runat=?server? /> d) <server label name=?lblHoop? runat=?asp? />
What are the difference between function and stored procedure in .net programming language?
How ASP.NET page works?
What would be the salary of an Asp.net developer with 1 and half year experience in indian rupees..??
What is difference between datalist and gridview?
Define cookie.
What is & in a url?
What is view state and how this can be done and was this there in asp ?
3 Answers Accenture, BirlaSoft, CTS, Mphasis,
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
i cant get Primary output selection from the Dialog box While Creating Setup and Deployment the web application how to solve it..
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)