Using Calendar in and Embedded Webkit View

6 posts, 2 answers
  1. mvbaffa
    mvbaffa avatar
    102 posts
    Member since:
    Dec 2006

    Posted 26 Jun 2012 Link to this post

    Hi,

    I am trying to use the Calendar in an Embedded WebView hosted by a Window Container. I am using QTWebbkit.

    The WebView show all the basic HTML widgets perfectly, when I execute $("#calendar").kendoCalendar the Caledar appears perfectly,
    but the events do not work. For instance if I click to see the next Month nothing happens or if I click in a day it does not become selected.

    Do you have any suggestions ?

    Thanks
  2. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 29 Jun 2012 Link to this post

    Hello Marcus,

    I am not sure what may cause the problem in your application. Could you please provide a small but runnable project that could be examined in details? This way we would be able to investigate the case in details and provide you with a solution if such is possible of course. Thank you in advance.

     
    Kind regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. mvbaffa
    mvbaffa avatar
    102 posts
    Member since:
    Dec 2006

    Posted 02 Jul 2012 Link to this post

    I just have a small sample in QtCreator 2.5.  If you want I can send you.

    I have just defined a QWebview and an HTML page that is embedded with a QT application. In fact the QWebView is Webkit container that can host html pages and there is a process to communicate the Javascript with C++. 

    Just for the record I am trying to develop a template similar to Adobe AIR, where I have HTML pages in C++ aplications using KendoUI for UI Widgets.

    For some reason the KendoUI Calendar does not respond to click events. And look, for this example I did not made any interaction with C++ I only put the calendar in the page. When I browse the page in a Browser (Chrome) it works OK.

    Maybe this is a problem of QTWebkit but ExtJS works perfectly. If you do not have QTCreator maybe you can simulate this situation with C# and the WebBrowser.

    Thanks
  5. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 03 Jul 2012 Link to this post

    Hi Marcus,

    I discussed the case with my colleagues and it seems the problem is caused by the events in this browser. The QTWebkit supports touch and mouse events, while the Kendo UI will use the touch events if available. I am afraid currently I can not suggest a suitable workaround for your scenario, but the needed functionality is under consideration from our developer team.

     
    Greetings,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. mvbaffa
    mvbaffa avatar
    102 posts
    Member since:
    Dec 2006

    Posted 03 Jul 2012 Link to this post

    Thanks, I will wait for a solution as soon as you have one.
  7. michael
    michael avatar
    1 posts
    Member since:
    Aug 2012

    Posted 16 Aug 2012 Link to this post

    Hello Iliana,

    can you please state how far the QTWebkit-Problem is solved ? I can embed the DatePicker for example, but not click on it.
    Maybe a solution without touch would do for now ?

    Thanks,

    Mike
    Prozahn Systeme

Back to Top
Kendo UI is VS 2017 Ready