473,387 Members | 1,669 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,387 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 2812
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...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.