Wednesday, 23 April 2014

What is difference between Master page and Web User Control


Ans) Master Page :
  •         Both are code reduce features and reusability.
  •          Master page are used to provide consistent layout and common behavior for multiple pages  in our application then we can add the content place holder to add child pages custom content.
  •         It extension is .Master

WebUser controls :
·        Same process in Web user controls also.
·        User controls are used when we have requirement on specific criteria.
·        Sometimes we need the functionality in our 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 built-in controls.
·        It ‘s extension is .ASCX

No comments:

Post a Comment