M
Marc Castrechini
Currently I have a composite control that has some base functionality that I
want to use for the base of a number of different controls. It has a
multiview to manage a display state and an edit state and a number of
buttons (Edit, Save, Cancel) to drive the display. Furthermore, I've
implemented two Templates to drive the Display and Edit views from the
designer.
When implemented it looks like this:
<MW:mwBaseUserControl runat="server" id="mwTestBase" Width="300px" >
<DisplayTemplate>
<asp:Label runat="Server" ID="lblTest" Text="test" />
</DisplayTemplate>
<EditTemplate>
<asp:TextBox runat="Server" ID="txtEdit" Text="test" />
</EditTemplate>
</MW:mwBaseUserControl>
So far everthing looks great. Now I want to use this control as a base to
create a number of other user controls so the derived controls are wrapped
with the basic functionality and display and can be easily setup using the
two templates
Can anyone point me to a resource to accomplish this?
want to use for the base of a number of different controls. It has a
multiview to manage a display state and an edit state and a number of
buttons (Edit, Save, Cancel) to drive the display. Furthermore, I've
implemented two Templates to drive the Display and Edit views from the
designer.
When implemented it looks like this:
<MW:mwBaseUserControl runat="server" id="mwTestBase" Width="300px" >
<DisplayTemplate>
<asp:Label runat="Server" ID="lblTest" Text="test" />
</DisplayTemplate>
<EditTemplate>
<asp:TextBox runat="Server" ID="txtEdit" Text="test" />
</EditTemplate>
</MW:mwBaseUserControl>
So far everthing looks great. Now I want to use this control as a base to
create a number of other user controls so the derived controls are wrapped
with the basic functionality and display and can be easily setup using the
two templates
Can anyone point me to a resource to accomplish this?