Search code examples
asp.netuser-controlsthemesskin

SkinID on usercontrol


I have created a usercontrol (a custom button control), how to apply skin on that control. What to write in the skin file for eg for a asp:button i will write <asp:button SkinID ="btnSkinBlue" runat = "server"/>.

What to write for a user control?


Solution

  • We require register tag <%@ Register Src="../../UserControls/RoundedButton.ascx" TagName="RoundedButton" TagPrefix="ttl" %>