DateTimePicker in WebControl

2 posts, 0 answers
  1. Scott
    Scott avatar
    15 posts
    Member since:
    Oct 2014

    Posted 19 May 2015 Link to this post

    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?

  2. Georgi Krustev
    Georgi Krustev avatar
    3687 posts

    Posted 21 May 2015 Link to this post

    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.

    Georgi Krustev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top