473,236 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,236 software developers and data experts.

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
1 2245
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Earl Teigrob | last post by:
I can create a new custom control (and not change it) and add it to the toolbox and drag it onto the disign screen and it works just fine, displaying the text . However, when I add the following...
1
by: Divya | last post by:
Hello This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I...
2
by: Novice | last post by:
I can't seem to get my Custom WebControl to output a button whose click event is associated with a particular method. Here is the code I have right now that contains a panel and there is a...
0
by: Novice | last post by:
Hey all, I've already posted this question and two posters offered suggestions and they worked - but now I would like to know why - and if possible the answer to a second question. Here is my...
2
by: Pipo | last post by:
Nobody knows how to get the values provided in the client can be read in the user-control? If have made a Web Custom Control with 2 textboxes and 1 dropdownlist. The user fills in my control (the...
0
by: Pavan | last post by:
My name is Pavan and I am a software engineer working on ASP .Net web development. Currently I am using .Net 2.0 Professional Edition to develop my web pages. I have a problem
1
by: Jeremy Chapman | last post by:
I have a property will an array of webcontrols. The control features a custom property editor which can add and remove web controls to the array, but how do I persist the informtion by...
2
by: Peter Rilling | last post by:
Okay, I something weird is happening where I do not know if I am doing something wrong. I have a page that contains a custom webcontrol that I developed. This webcontrol basically loads a...
1
by: rn5a | last post by:
While creating a custom control, what is the difference between Public Class MyCls : Inherits Control & Public Class MyCls : Inherits WebControl Also when should the sub Render be used &...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.