I have a RadButton like following:
<telerik:RadButton ID="NewActionBtn" runat="server" NavigateUrl="New.aspx">
<ContentTemplate>
<span class="myClass" style="color: black"></span>
<span class="myAnotherClass"> Add</span>
</ContentTemplate>
</telerik:RadButton>
I want inherit this button so I only need to pass button text for the ContentTemplate. How will I do this. I don't want a WebUserControl with ascx extension.
<telerik:RadButton ID="NewActionBtn" runat="server" NavigateUrl="New.aspx">
<ContentTemplate>
<span class="myClass" style="color: black"></span>
<span class="myAnotherClass"> Add</span>
</ContentTemplate>
</telerik:RadButton>
I want inherit this button so I only need to pass button text for the ContentTemplate. How will I do this. I don't want a WebUserControl with ascx extension.