Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I am trying to navigate in Umbraco from One page to other and i am able to do it.
My only problem is that it doesnt update the Link.
Suppose i am navigating from ~/Home to ~/History page and it does Shows the History page details however the URL still remains to ~/Home page
hi Sourav
How did you do the navigation?
/Alex
For navigating i am using a Submit button which performs certain task and then from controller itself i pass
RedirectToAction("Index", "History"); I even tried but doesnt work
return View("History");
Sourav, why are you using submit for navigation?
you can use just link:
<a href="/History"></a>
Sorry If i was not clear.
Its login Page. User has to enter User Id and Password (Its connecting to MS CRM) and then click on Submit button. Now once i submit i check if user ID and password are valid. If yes then i have to navigate to history or Home page.
Regards, Sourav
Try to use:
return Redirect("/History");
It worked. Great!
Thanks
Hi Sourav,
You can do it in different ways:
With HTML
1) <a href="/History">History</a>
With Javascript
2) window.history.back() or window.history.go(-1)
With jQuery
3) $(location).attr('href','http://www.example.com') $(window).attr('location','http://www.example.com') $(location).prop('href', 'http://www.example.com')
With Response Redirect
4) Response.Redirect(Url.Action("History", new { id = Model.ID }));
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Navigating from One page to other
Hi,
I am trying to navigate in Umbraco from One page to other and i am able to do it.
My only problem is that it doesnt update the Link.
Suppose i am navigating from ~/Home to ~/History page and it does Shows the History page details however the URL still remains to ~/Home page
hi Sourav
How did you do the navigation?
/Alex
For navigating i am using a Submit button which performs certain task and then from controller itself i pass
RedirectToAction("Index", "History"); I even tried but doesnt work
return View("History");
Sourav, why are you using submit for navigation?
you can use just link:
Sorry If i was not clear.
Its login Page. User has to enter User Id and Password (Its connecting to MS CRM) and then click on Submit button. Now once i submit i check if user ID and password are valid. If yes then i have to navigate to history or Home page.
Regards, Sourav
Try to use:
It worked. Great!
Thanks
Hi Sourav,
You can do it in different ways:
With HTML
With Javascript
With jQuery
With Response Redirect
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.