kendo.history question

5 posts, 0 answers
  1. scott
    scott avatar
    15 posts
    Member since:
    Sep 2006

    Posted 28 Nov 2012 Link to this post

    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!
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 29 Nov 2012 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. scott
    scott avatar
    15 posts
    Member since:
    Sep 2006

    Posted 29 Nov 2012 Link to this post

    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

  5. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 29 Nov 2012 Link to this post

    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!
  6. scott
    scott avatar
    15 posts
    Member since:
    Sep 2006

    Posted 29 Nov 2012 Link to this post

    Hey Petyo,

    Ah!  Sweet - I'll find it.

    Thanks!
Back to Top
Kendo UI is VS 2017 Ready