A
Amit Patel
Hello,
I've created a templated control in C#, and I am trying to
have default values for templates if the user of the
control does not specify. For example, if the aspx code
should look like:
<custom:myControl runat="server" id="control1">
<aHeader>a non-default Header</aHeader>
</custom:myControl>
How can i have a default <aHeader> if the user does not
specify it? Is there any way I could have a separate
template file with the default values?
i.e.:
<file>
<aHeader>this is the defined default header</aHeader>
</file>
Any help is appreciated. Thanks in advance!
I've created a templated control in C#, and I am trying to
have default values for templates if the user of the
control does not specify. For example, if the aspx code
should look like:
<custom:myControl runat="server" id="control1">
<aHeader>a non-default Header</aHeader>
</custom:myControl>
How can i have a default <aHeader> if the user does not
specify it? Is there any way I could have a separate
template file with the default values?
i.e.:
<file>
<aHeader>this is the defined default header</aHeader>
</file>
Any help is appreciated. Thanks in advance!