redirect- url issue

2 posts, 0 answers
  1. Dominic
    Dominic avatar
    4 posts
    Member since:
    Aug 2011

    Posted 20 Sep 2013 Link to this post

    in my complete mobile web app i got the same problem wenn redirecting to a new site with click on a button

    iam on site:
    and i want to:

    on click the button redirects to correct site but the url is now

    its no big thing, main features are still working, but i ran into some update and refresh issues. for example: after a redirect and creating of a this kind of a monster url badges on buttons are no longer displayed. even refresh don let them appear. only tiping the correct url fixes it.
    i also have problems with login and out becouse of this kind of url

    example for a button :
    <a data-role="button" href="/projekte/index"> <img src="~/Content/images/icons/48x48/projekte48.png" /> Projekte </a>

    or my "login button"
    <a data-click="login" id="modalview-login-button" type="button" data-role="button">Login</a>

            type: "POST",
            url: webMethod,
            data: parameters,
            contentType: "application/json; chaset=utf-8",
            dataType: "json",
            success: function (data) { if (data.Success) { app.navigate("/home/index"); closeModalView(); } }

  2. Petyo
    Petyo avatar
    2444 posts

    Posted 24 Sep 2013 Link to this post

    Hello Dominic,

    The behavior you describe is by design. This is how the non-push state URLs look like, as they rely on the hash-fragment changes. 

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top