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

Using Calendar in and Embedded Webkit View

5 Answers 96 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
mvbaffa
Top achievements
Rank 1
mvbaffa asked on 27 Jun 2012, 03:08 AM
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

5 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 29 Jun 2012, 03:29 PM
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!
0
mvbaffa
Top achievements
Rank 1
answered on 02 Jul 2012, 12:25 PM
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
0
Accepted
Iliana Dyankova
Telerik team
answered on 03 Jul 2012, 04:52 PM
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!
0
mvbaffa
Top achievements
Rank 1
answered on 03 Jul 2012, 11:46 PM
Thanks, I will wait for a solution as soon as you have one.
0
michael
Top achievements
Rank 1
answered on 16 Aug 2012, 09:02 AM
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

Tags
Calendar
Asked by
mvbaffa
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
mvbaffa
Top achievements
Rank 1
michael
Top achievements
Rank 1
Share this question
or