What is the difference between User Controls and Master Pages

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of passport authentication?

501


Which library is used by the testers and developers to develop automated tests and create testing tools?

535


To display data in a Repeater control which template you provide?

583


Define what is razor? : asp.net mvc

570


Why session management is required?

528






What are the differences between clr & cts?

527


Which dll handles the request of .aspx page?

553


What are the features of asp.net mvc?

521


What are the main requirements for caching?

526


Explain cookies with example.

551


What are the contents of cookie?

565


what is publisher?

1644


When maintaining session through sql server, what is the impact of read and write operation on session objects?

527


How many validators do ASP.NET have?

602


How dataadapter.fill works?

557