By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,909 Members | 2,016 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,909 IT Pros & Developers. It's quick & easy.

Creating Custom Control

P: n/a
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

Jan 26 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.