-
Creating a Custom Web DatePicker Control
Hello All,
I'm in the midst of creating a web version of the DatePicker control. I
have a textbox, image button and a calendar control. I'm having some issues
exposing the click event of the image button so that I can show and hide
the calendar. Any help?
Thanks in advance,
Anthony
-
Re: Creating a Custom Web DatePicker Control
HI Anthony,
"Anthony" <anthony.caravia@poorman-douglas.com> wrote in message
news:3ca4e2a9$1@10.1.10.29...
> I'm in the midst of creating a web version of the DatePicker control. I
> have a textbox, image button and a calendar control. I'm having some issues
> exposing the click event of the image button so that I can show and hide
> the calendar. Any help?
Is there some reason you're not using the ASP.NET Calendar Web server control?
--
Constance Petersen, DevX newsgroup section leader
SoftMedia Artisans, Inc.
http://www.smartisans.com
For useful, usable software and Web sites
Featured Web design: http://www.keweenawnow.com/
--
Please reply in the newsgroup so everyone can benefit
-
Re: Creating a Custom Web DatePicker Control
Yes, it takes up too much real eatate. Our application is intranet company
wide and contains quite a lot on the screen.
"Constance J. Petersen" <constance@smartisans.com> wrote:
>HI Anthony,
>
>"Anthony" <anthony.caravia@poorman-douglas.com> wrote in message
>news:3ca4e2a9$1@10.1.10.29...
>> I'm in the midst of creating a web version of the DatePicker control.
I
>> have a textbox, image button and a calendar control. I'm having some
issues
>> exposing the click event of the image button so that I can show and hide
>> the calendar. Any help?
>
>Is there some reason you're not using the ASP.NET Calendar Web server control?
>--
>Constance Petersen, DevX newsgroup section leader
>SoftMedia Artisans, Inc.
>http://www.smartisans.com
>For useful, usable software and Web sites
>Featured Web design: http://www.keweenawnow.com/
>--
>Please reply in the newsgroup so everyone can benefit
>
>
>
-
Re: Creating a Custom Web DatePicker Control
Hi Anthony,
"Anthony" <anthony.caravia@poorman-douglas.com> wrote in message
news:3ca88e68$1@10.1.10.29...
> Yes, it takes up too much real eatate. Our application is intranet company
> wide and contains quite a lot on the screen.
Sorry. I didn't read your first post carefully enough the first time through.
>>> have a textbox, image button and a calendar control. I'm having some issues
>>> exposing the click event of the image button so that I can show and hide
>>> the calendar. Any help?
Can you explain the issues and post the code you're having problems with?
--
Constance Petersen, DevX newsgroup section leader
SoftMedia Artisans, Inc.
http://www.smartisans.com
For useful, usable software and Web sites
Featured Web design: http://www.keweenawnow.com/
--
Please reply in the newsgroup so everyone can benefit
-
Re: Creating a Custom Web DatePicker Control
Anthony,
What kind of issues are you having? VB.NET or C#?
Generally you need to handle the event of the image button, then raise the
event of your control...
Have you seen the 'DateBox' control that Dino Esposito did in his "Building
Web Solution with ASP.NET and ADO.NET" book from MS Press? It is similiar to
the control you are writing...
I don't see the DateBox listed in his Cutting Edge column:
http://msdn.microsoft.com/msdnmag/fi...utting%20Edge:
A lot of the book is from the column, but not all of the book! ;-)
Hope this helps
Jay
"Anthony" <anthony.caravia@poorman-douglas.com> wrote in message
news:3ca4e2a9$1@10.1.10.29...
>
> Hello All,
> I'm in the midst of creating a web version of the DatePicker control. I
> have a textbox, image button and a calendar control. I'm having some
issues
> exposing the click event of the image button so that I can show and hide
> the calendar. Any help?
>
> Thanks in advance,
> Anthony
-
Re: Creating a Custom Web DatePicker Control
Constance,
Thank you for your help! I have ended up solving the problem by creating
a composite control. It works great.
Anthony
"Constance J. Petersen" <constance@smartisans.com> wrote:
>Hi Anthony,
>
>"Anthony" <anthony.caravia@poorman-douglas.com> wrote in message
>news:3ca88e68$1@10.1.10.29...
>> Yes, it takes up too much real eatate. Our application is intranet company
>> wide and contains quite a lot on the screen.
>
>Sorry. I didn't read your first post carefully enough the first time through.
>
>>>> have a textbox, image button and a calendar control. I'm having some
issues
>>>> exposing the click event of the image button so that I can show and
hide
>>>> the calendar. Any help?
>
>Can you explain the issues and post the code you're having problems with?
>
>--
>Constance Petersen, DevX newsgroup section leader
>SoftMedia Artisans, Inc.
>http://www.smartisans.com
>For useful, usable software and Web sites
>Featured Web design: http://www.keweenawnow.com/
>--
>Please reply in the newsgroup so everyone can benefit
>
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks