c# - How to get simple url var with Razor MVC 4? -
this question exact duplicate of:
i have 3 partials views in same view , want param load list put in partial.
url type : mywebsite.com/bigview#view1
i juste want "view1" parameter.
note: ve tried request.path take path, not params ^^
you can not read hash on server-side during page load, because the hash never gets sent server. hence, satpal's suggestion using urls such /bigview/view1
way go.
then go on "not refreshing important". that, might want in html5 pushstate -- basically, it's way update browser url in way that's compatible urls that, without doing full-page reloads.
Comments
Post a Comment