473,418 Members | 2,337 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,418 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 2253
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 &...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.