471,338 Members | 1,019 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Datetimepicker button: How do I fire it manually?

The button in the datetimepicker class that opens the calendar is too small
for my touchscreen users. How can I make a regular button that opens the
datetimepicker calendar ?

I don't want to just make the font in the datetimepicker huge, that only
makes the button very tall and skinny.

Thank you for any ideas!
Jul 21 '05 #1
2 2688
Hi,

In case you want to call the calender control manually on click of a button
you can do it in the following ways...

1. Position the calendar control in a div and show that div on click.
2. Open the calendar control on a new window and on the new window close
save the data on a window level variable.

Think the second option should be fair enough. Also you can use a modal
dialog box (window.showModalDialog) or check MSDN for more info on the
showModalDialog method.

HTH...

Need any help, do post a msg back..

Happy Coding
"snake_2k" wrote:
The button in the datetimepicker class that opens the calendar is too small
for my touchscreen users. How can I make a regular button that opens the
datetimepicker calendar ?

I don't want to just make the font in the datetimepicker huge, that only
makes the button very tall and skinny.

Thank you for any ideas!

Jul 21 '05 #2
Sorry, I should mention I am using VB.NET . The datetimepicker class is
different than the calendar class, but it has a calendar that drops down when
you click the button on it. I want to be able to make a button that makes
the calendar drop down from this control because the button in the control is
too small.
Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jason Kyle Baginski | last post: by
3 posts views Thread by Epetruk | last post: by
11 posts views Thread by CW | last post: by
1 post views Thread by Jon | last post: by
4 posts views Thread by jehugaleahsa | last post: by
reply views Thread by rosydwin | last post: by

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.