473,748 Members | 4,935 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DateTimePicker in a Datagrid

ROG

Hi all

with help from postings on the web, i have a dateTimePicker in one of my
columns in the datagrid.

However, when i move in to this column using the arrow keys, it
automatically pops up, and then any future arrow key presses start
changing the date. I don't want this to happen - i'd like the arrow keys
to continue navigating around the grid. For the dateTimePicker to become
"active", i'd like the user to, say, have to press Return, and then the
arrow keys would apply to the dateTimePicker. Pressing return again
would lose the focus on the dateTimePicker.

Is this possible...?

Cheers

Rog


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
0 1655

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
9342
by: Marty | last post by:
Is it possible to have a DateTimePicker in a DataGrid control date column? If so, can you please include some code. Thanks.
1
3821
by: Karl | last post by:
Hi, .Net experts, I am using DatagridDateTimepickerColumn style posted on MSDN .net class document in my datagrid. You can see the datagridDateTimepickerColumn style at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsdatagridcolumnstyleclasstopic.asp It works fine with the datetimepicker column of current record in datagrid. But when I click the very last record in datagrid (which...
2
2910
by: LC | last post by:
I am on the learn C#. Net in 695 day program. I am just trying to learn stuff. I have MSAccess database with 1 table called 'ParmDate' with 1 column called 'ParmDate' which represents a date for which the rest of the processing will be based. I have a Windows Form with a DateTimePicker that is bound to this MSAccess database and 'ParmDate' table and column. I have a button on the form that when clicked will update the dataset. I have a...
3
2183
by: Koen Vanherk | last post by:
Can I use a datetimepicker control in a datagrid column in asp.net page.If it's for win forms only, is there any way I can provide similar functionality to the user for picking a date in my web form?Regards, Koen
1
1684
by: Robert Batt | last post by:
Hello, I have a bound datagrid that contains the following date column Dim tcQuoteduedate As New DataGridTextBoxColum tcQuoteduedate.MappingName = "MYCustomerCustomerTQuoteDueDate tcQuoteduedate.HeaderText = "Quote Due Date tcQuoteduedate.Width = 8 tcQuoteduedate.Format = "d tcQuoteduedate.NullText = " Is there any way that I can use a datetimepicker to allow the user to select from this datetimepicker in the datagrid, rather than...
2
5460
by: Austin T | last post by:
I have a datetimepicker called say mydteTimePicker and it is bound to a dataset. However the the dataset value is null the datetimepicker displays today's date as the default. I would like it to display a blank if there is no date. Any ideas on how to do this Thank yo Austin
2
3386
by: Chris Fairman | last post by:
NG, Maybe I'm missing a key step, but it seems when typing dates into a DateTimePicker control (format = 'Short'), the controls' .text property is not updated until the control losses focus. I'm handling an <enter> key event on a DateTimePicker control. Essentially I want to give a user the ability to type a date in the DTP, and press <enter> and have a DataGrid populate with user supplied data from the DTP control.
3
2612
by: Vayse | last post by:
Is it possible to have a datagrid column use a DateTimePicker? How would I do this? Thanks Vayse
0
3051
by: eddyman592 | last post by:
Ok, I'm trying to make a column in my data grid be a DateTimePicker column. I copied and pasted all the code from the msdn website. Now, the difference in my code and the microsoft code is that my datagrid is not in the startup form. Also, the form it's in is an MdiChild. So I get errors when the form containing the datagrid is opened. Next, when i go and take out the whole mdichild thing, the form with the datagrid won't recognize the...
0
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9541
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9321
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4602
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.