Frequently Asked Interview Questions

Difference btn master page and user control in asp.net

Difference btn master page and user control in asp.net:

User control
1)A User control is an ASP.NET file with the extension .ascx
2)A page can have more than one User Controls.
3)it doesn't contain Contentplaceholder.

MasterPage:
1) A master page is an ASP.NET file with the extension .master
2)it used like a template.
3)it contain ContentPlaceHolder.
4)Only one master page can be assigned to a web page

Most Visited Pages

Home | Site Index | Contact Us