Datetimepicker button: How do I fire it manually?

G

Guest

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

Guest

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
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top