473,385 Members | 1,846 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,385 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 2810
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jason Kyle Baginski | last post by:
Here's a little test app to demonstrate a problem I'm having. It creates four buttons, each one with the different FlatStyle types available. Three of them behave exactly the same way(and the...
3
by: Epetruk | last post by:
Hi, I'm trying to design a simple web form, but I cannot get the code in the btnSubmit_ServerClick event to fire. What am I doing wrong? Here's the codebehind: using System; using...
11
by: CW | last post by:
I have message entry screen that's causing me a bit of an issue. At the moment, there are 2 buttons, one is used to send message to another user (btnSend) and another is used to send messages to...
1
by: Jon | last post by:
Hi, i have a DateTimePicker, but how can i make the drop down button bigger? (I know that i can change the font size, but the make the button looks slim....how can i make it wider?) and also...
2
by: snake_2k | last post by:
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...
11
by: bill | last post by:
I dynamically create buttons and associate them with an event using AddHandler. I want all the button events to fire at one time, when the page is posted, instead of when each button is clicked....
2
by: Claes Wedin | last post by:
My customer needs a DateTimePicker in VS2005 C# that can show emty date values (blank/space/null). I need a control that: 1. Can show a blank value 2. Detete a date when hitting the delete...
3
by: Zubulake | last post by:
I am having problems with my homework. I am making a code for a alarm clock and i need to disable the set button and the dateTimepicker and transfer focus to the reset button. Then when i hit the...
4
by: jehugaleahsa | last post by:
Hello: We were hoping to allow users to have DateTimePicker value null so that a unused date is stored on a Database. Does the control support this? I am pretty sure it doesn't. How would you...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.