467,877 Members | 1,234 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,877 developers. It's quick & easy.

Custom Calendar webcontrol

I have a dilemna. Currently I have created a custom calendar webcontrol that a user can
select and will dump the date along with some specialized information set in the tooltip.
It actually is working great. However I am having the same second thoughts about the
control as everyone else because of all the real estate it takes up so I would like to
add a button to alternately hide/display the calendar control. The only problem is that
if I customize it further by adding it to a panel with a button I lose the ability to have
the "tooltip" keyword when invoking my class on my ASPX page. Since the class
inherits from container (as opposed to previously when it was a solitary derviation
of the Calendar class).

My question is if I stay with my derived (custom) Calendar class can I somehow add some
sort of button that would appear on or next to the calendar so I can still squirrel away
my information in the tooltip? I tried ADDing a button to the controls of the Calendar but
that obviously failed....

Or if I create a custom class that creates the container and adds the calendar and button,
is there another spot (like tooltip) where specialized information can be configured in one of
the keywords in the callout on the ASP.NET page? Any suggestions that anyone can provide
would be greatly appreciated!!!!

-Peter
Nov 19 '05 #1
  • viewed: 2051
Share:
1 Reply
I actually dug deeper and found that my custom container was inheriting Control vs. Webcontrol
Once I used WebControl I then had access to the tooltip and was able to progress from there....
"Peter" <pe***@nospamerino.com> wrote in message news:BO********************@comcast.com...
I have a dilemna. Currently I have created a custom calendar webcontrol that a user can
select and will dump the date along with some specialized information set in the tooltip.
It actually is working great. However I am having the same second thoughts about the
control as everyone else because of all the real estate it takes up so I would like to
add a button to alternately hide/display the calendar control. The only problem is that
if I customize it further by adding it to a panel with a button I lose the ability to have
the "tooltip" keyword when invoking my class on my ASPX page. Since the class
inherits from container (as opposed to previously when it was a solitary derviation
of the Calendar class).

My question is if I stay with my derived (custom) Calendar class can I somehow add some
sort of button that would appear on or next to the calendar so I can still squirrel away
my information in the tooltip? I tried ADDing a button to the controls of the Calendar but
that obviously failed....

Or if I create a custom class that creates the container and adds the calendar and button,
is there another spot (like tooltip) where specialized information can be configured in one of
the keywords in the callout on the ASP.NET page? Any suggestions that anyone can provide
would be greatly appreciated!!!!

-Peter
Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Earl Teigrob | last post: by
1 post views Thread by Jeremy Chapman | last post: by
2 posts views Thread by Peter Rilling | last post: by
1 post views Thread by rn5a | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.