What is the difference between Named skins and Default skins?

 Posted by Tripati_tutu on 11/20/2010 | Category: ASP.NET Interview questions | Views: 9070 | Points: 40

When you are applying any theme to a page, then by default the Default skin applies to all controls of same type to that page. This skin is default for a control if it does not have SkinID attribute. Suppose you create a default skin for a Calendar control, then the control skin applies to all Calendar controls on pages that use the theme.

But the named skin controls have their SkinID property. It is not applying skin attributes automatically for controls by type, but it facilitates to apply explicitly a named skin to a control by changing the control's SkinID property. It allows you to set different skins for different instances of the same control in an application.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response