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

kendo.history question

4 Answers 159 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
scott
Top achievements
Rank 1
scott asked on 28 Nov 2012, 11:52 PM
Hello!

I have been trying to deal with some SEO/link issues for my client and I wanted to see how hard it would be to implement the new html5 pushState/replaceState and the popstate event stuff with kendo.  It's not going well though -- I'm able to change the address bar, but the back button is giving me grief.

I thought it would be good to check out what the kendo.history code does, so I downloaded the source but could not find the history code.  

So, my questions are -- 1. where is the code for kendo.history?  2. Will you be supporting the new html5 pushState/replaceState and the popstate event stuff with kendo?

Thanks!

4 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 29 Nov 2012, 08:21 AM
Hello Scott,

First of all, I would like to mention that kendo.history is an internal implementation - we do not expose it directly. The component source code is available in the source/js/ directory of the archive. It contains some preliminary pushState implementation. 

After some discussions, we decided to not claim support for pushState/replaceState manipulations for now. Using those requires quite complex server-side configuration and application logic tweaks, which greatly vary across server-side platforms. 

Of course, you can look through and use kendo.history.js, however we can't really provide any official support for it. 

All the best,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
scott
Top achievements
Rank 1
answered on 29 Nov 2012, 01:40 PM
Hi Petyo,

Thanks for your reply.  So, I downloaded kendoui.web.2012.3.1114.open-source.zip a few days ago and looked inside the /js/ and /src/js folders, and there's no kendo.history.js in there.  That's a big reason why I wrote the post I guess.  I also did a text search through all of the .js files for the word 'history' and nothing is there.  I've just had another look at the .zip file to make sure I'm not being a moron.

Would the kendo.history.js possibly have been accidentally not included in the zip?  Would you mind sending it to me?  I won't bother you with any questions about the code.

BTW, I have been reading and playing around with this pushState/replaceState stuff a lot more.  It seems like a real pain in the butt, and I understand why you've not gone this route...  

Thanks!
se

0
Petyo
Telerik team
answered on 29 Nov 2012, 02:38 PM
Hello Scott,

Sorry for not mentioning this - kendo.history is not available in kendo web - it is present in both kendo mobile and kendo complete bundles, as only Kendo UI Mobile uses it. 

Kind regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
scott
Top achievements
Rank 1
answered on 29 Nov 2012, 02:39 PM
Hey Petyo,

Ah!  Sweet - I'll find it.

Thanks!
Tags
General Discussions
Asked by
scott
Top achievements
Rank 1
Answers by
Petyo
Telerik team
scott
Top achievements
Rank 1
Share this question
or