J
Julien
Hi !
I'm creating a custom control, in which I would render an image with
client-side script code to display/hide a calendar control which also
belong to my custom control. In this control I've created properties to
map onto my calendar UI properties like TodayDayStyle, DayStyle,
NextMonthStyle, but I think I should add attributes to these properties
to make my control more useable when I will insert it in my pages.
For example, I've created a DayStyle property which, when set, is
mapped on my calendar's DayStyle property (I've kept the same names, so
with my awful English, excuse-me if my problem doesn't seem so clear
). I would like to use it like when using a calendar :
<asp:Calendar runat=server....>
<DayStyle ...>
</asp:Calendar>
and so when modifying my custom control's properties in design mode, I
could have :
<cc1:MyCustomCtl runat="server" ...>
<DayStyle ...>
</cc1:MyCustomCtl>
So if someone knows a lot about creation of advanced custom controls
can he help me ? Or indicate me a good tutorial on the web ...
Many thanks by advance
I'm creating a custom control, in which I would render an image with
client-side script code to display/hide a calendar control which also
belong to my custom control. In this control I've created properties to
map onto my calendar UI properties like TodayDayStyle, DayStyle,
NextMonthStyle, but I think I should add attributes to these properties
to make my control more useable when I will insert it in my pages.
For example, I've created a DayStyle property which, when set, is
mapped on my calendar's DayStyle property (I've kept the same names, so
with my awful English, excuse-me if my problem doesn't seem so clear
). I would like to use it like when using a calendar :
<asp:Calendar runat=server....>
<DayStyle ...>
</asp:Calendar>
and so when modifying my custom control's properties in design mode, I
could have :
<cc1:MyCustomCtl runat="server" ...>
<DayStyle ...>
</cc1:MyCustomCtl>
So if someone knows a lot about creation of advanced custom controls
can he help me ? Or indicate me a good tutorial on the web ...
Many thanks by advance