I want to do this in code .cs file Can some help write a regex datetime validation. I have two datetime controls, I want to validate that the datetime is a valid date and if not throw and error. I also want to throw an error if the datetime is outside of the range MIN and MAX review below. the format I using as far as datatime goes, 'YYYYMMSS:hhmmss' or can I force the user to stop typing in the datetime control, At the moment I can type in the datetime picker, I only want the user to pick from the datetime picker
MIN date and Max Date
19670101 and 30000101
Jan 01, 1967 and Jan 01, 3000
Hello Keith,
Thanks for the feedback.
Could you please create a separate forum thread for a each different topic. By this way is easier for us (also for the community ) to follow and search in the forum threads.
About your question, maybe you are looking for our Excel engine. Please take a look at the http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.2/CLR2.0/html/Infragistics2.Documents.Excel.v11.2.html
and let me know if you have any questions.
Regards
Yep that was the solution. thanks.
I am curious, do infragistics have there own object to launch an excel file. I am basically want to launch an excel file add some values, then close, after close do some processing. at the moment I am using the excel interop objects. I was just curious if infragistics have there own objects to do ort of thing.
Hi Keith,
Could you please take a look at the latest modifications in the sample and let me know if you have any questions.
private void ultraDateTimeEditor1_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e) { ultraDateTimeEditor1.ReadOnly = false; ultraDateTimeEditor1.DropDown(); ultraDateTimeEditor1.ReadOnly = true; }
private void ultraDateTimeEditor1_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e)
{
ultraDateTimeEditor1.ReadOnly = false;
ultraDateTimeEditor1.DropDown();
ultraDateTimeEditor1.ReadOnly = true;
}
Actually the your sample is not working, I can type into your datetime picker control, if there is not way i can just do validation
About the DropDown method. Please take a look at the attached sample and test it. I`ll wait your feedback.
About the Chat. Please used the link and take a look at the screenshot:
http://es.infragistics.com/DhtmlPanelFrame.aspx?id=772#SupportOptions