Creating a Custom Web DatePicker Control


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Creating a Custom Web DatePicker Control

  1. #1
    Anthony Guest

    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

  2. #2
    Constance J. Petersen Guest

    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




  3. #3
    Anthony Guest

    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
    >
    >
    >



  4. #4
    Constance J. Petersen Guest

    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




  5. #5
    Jay B. Harlow Guest

    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




  6. #6
    Anthony Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center