2
Reply

winform gridview datetimepicker column

Jasna Shyam

Jasna Shyam

May 17 2016 6:27 AM
290
Hi I have a gridview in which there is a datetimepicker column. It is a normal textbox column, so clicking it datetimepicker populates.
This idea is from the link http://www.c-sharpcorner.com/UploadFile/0f68f2/embedding-calendar-datetimepicker-control-into-datagridvie586/
The textbox is empty and on clicking it the dtp populates and we can select the date within the range(mindate and maxdate) and its displayed in the textbox. This is handled by the textchanged event. The issue i face here is when i select the maxdate on the dtp the textchanged event is not fired. If i select any other dates it is coming properly. Also if i select any other date and then select the max date also there is no issue.
Kindly help me to solve this.
 

Answers (2)