6 Answers, 1 is accepted
0

Truc
Top achievements
Rank 1
answered on 02 Aug 2013, 04:06 PM
Did you every find a solution for this?
I'm having the same problem?
I get this error: "Uncaught TypeError: Cannot call method 'replace' of undefined
I'm having the same problem?
I get this error: "Uncaught TypeError: Cannot call method 'replace' of undefined
0
Hi,
Petyo
Telerik
This scenario is not supported currently. The drawer widget is a phone UI specific one, while the splitview targets tablet based interfaces.
Regards,Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Truc
Top achievements
Rank 1
answered on 06 Aug 2013, 03:01 PM
The drawers work perfectly in both phone and tablet, on both iOS and Android environments. We have test this in the simulator as well as on actual iOS phones and iOS tablet devices, as well as on actual Android phones and Android tablet devices. To say that drawers are phone UI specific seems to be an incorrect statement.
The Splitview is obviously a tablet UI only element.
We have implemented a small test app combining the drawer and a Splitview together. Works perfectly!
Attached is an example.
However when we implement it on our larger app it throws an error on line 6882 of "kendo.mobile.min.js" (unminified) from 2013.2.801
t = !e[0] || e.indexOf(this.pane.view().id.replace("#", "")) > -1;
So for testing purposes we just ignored the error with this:
t = !e[0] || (this.pane.view().id? e.indexOf(this.pane.view().id.replace("#", "")) > -1 : true);
With this everything works perfectly in our larger app.
Obviously we can't leave it this way, we're just testing.
Please, can you help us find a work around.
The Splitview is obviously a tablet UI only element.
We have implemented a small test app combining the drawer and a Splitview together. Works perfectly!
Attached is an example.
However when we implement it on our larger app it throws an error on line 6882 of "kendo.mobile.min.js" (unminified) from 2013.2.801
t = !e[0] || e.indexOf(this.pane.view().id.replace("#", "")) > -1;
So for testing purposes we just ignored the error with this:
t = !e[0] || (this.pane.view().id? e.indexOf(this.pane.view().id.replace("#", "")) > -1 : true);
With this everything works perfectly in our larger app.
Obviously we can't leave it this way, we're just testing.
Please, can you help us find a work around.
0
Hi Truc,
Petyo
Telerik
Thank you for the provided test case. We will include this fix for our upcoming service pack. I am updating your telerik points.
Regards,Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Truc
Top achievements
Rank 1
answered on 21 Nov 2013, 06:13 PM
It broke again in the kendo ui framework Q3 2013 release.
Attached is the sample testing app. Open the drawer, then select SplitView item and will see the below error and the view is stuck.
Uncaught TypeError: Cannot call method 'hide' of undefined kendo.mobile.min.js:17
Attached is the sample testing app. Open the drawer, then select SplitView item and will see the below error and the view is stuck.
Uncaught TypeError: Cannot call method 'hide' of undefined kendo.mobile.min.js:17
0
Hello Truc,
Thank you for contacting us - I can confirm the regression. We are going to address it as with an internal build update as soon as possible. Your telerik points have been updated.
Regards,
Petyo
Telerik
Thank you for contacting us - I can confirm the regression. We are going to address it as with an internal build update as soon as possible. Your telerik points have been updated.
Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!