This is a migrated thread and some comments may be shown as answers.

DateTimePicker in WebControl

1 Answer 20 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 19 May 2015, 11:39 AM

I have noticed a problem when using the DateTimePicker on a web page that is displayed in the .NET WebControl control. The problem I am seeing is the first time I open the calendar and I press one of the arrows on the top to navigate to the next/previous month the calendar immediately closes. If I open the calendar again the next/previous arrow buttons work correctly. This problem only occurs in the WebControl control that I am using. It does not occur in IE or any other web browser that I have tried. 

 

Per your documentation, I added these two lines:

window.MSPointerEvent = null;
window.PointerEvent = null;

This did fix another issue I was having (a button event wasn't firing) but it did not fix the DateTimePicker issue.

Does anyone know what might be causing this and if there is a work around?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 21 May 2015, 08:10 AM
Hello Scott,

In general, the widget is designed to close when input element is blurred. I suppose that something forces the widget to blur when it is placed in WebControl. I would suggest you investigate what is causing this "blur" effect only in the WebControl.

Unfortunately, WebControl is not real IE and it has different discrepancies, like the MSPointerEvent issue and it behaves inconsistent than normal IE browser. I am out of ideas, what exactly is causing this erroneous behavior.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Date/Time Pickers
Asked by
Scott
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or