Forum  Commercial Foru...  Commercial Foru...  DateTimePicker not flagging changes when the user presses the Up or Down key
Previous Previous
 
Next Next
New Post 11/28/2011 10:51 AM
  dbranger
118 posts
5th Level Poster


DateTimePicker not flagging changes when the user presses the Up or Down key 

I ran into a problem with the DateTimePicker not flagging changes when the user presses the Up or Down key. It's one of those things where unless you mechanically loose focus or use the controls up/down buttons there is no sender.value filled. Is there an open tracker on this or a workaround like in the TextBox where you capture the EnterKeyPressed event?

 
New Post 11/28/2011 2:58 PM
  palli
14415 posts
1st Level Poster




Re: DateTimePicker not flagging changes when the user presses the Up or Down key 

Hi David,

If I understand you correctly, then implementing the Validating/Validated events should solve your problem, right? Please view that tracker entry here and follow up on our progress.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 11/28/2011 3:59 PM
  dbranger
118 posts
5th Level Poster


Re: DateTimePicker not flagging changes when the user presses the Up or Down key 

Hi Palli

I tried the tried the Validated and Validating events as well as a number of others but no luck. Basically if the user uses the up/down keys to adjust the dates and then presses enter to move on to the next control the date in most cases found in the control will not be the one entered by the user. Oddly enough if the user adjusts the Year /Month and Day, the Year and Day will save. You can't just adjust one and the day never saves

It will work if the users uses the up/down buttons provided on the control but this makes for bad ergonomics as the user must move from the keyboard to the mouse.

 

 
New Post 11/29/2011 9:13 AM
  palli
14415 posts
1st Level Poster




Re: DateTimePicker not flagging changes when the user presses the Up or Down key 

Hi David,

The Validating / Validated events are known to be working incorrectly or not working at all and will be handled by an already open entry here.

I opened a new one on the problem that the Value isn't changed on KeyDown / KeyPress / KeyUp. Please view it here and follow up on our progress.

My tests did show that using the LostFocus event, the value is always updated within that event. Also when using the keyboard to move to the next token within the DateTimePicker, the ValueChanged event fires with an updated value.

Please let me know if I'm missing something here.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  DateTimePicker not flagging changes when the user presses the Up or Down key
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS