asp.net mvc - Ajax #anchors processing with MVC -


i looking standardize processing of ajax #anchors @ server side, using mvc.

before controller action invoked want convert every request ajax anchors request without ajax anchors, controller code not know there anchors in request:

for example:

1) /user/profile#user/photos should treated /user/photos

2) /main/index#user/profile/33 should treated /user/profile/33

what best technique in mvc accomplish that?

anchors not pushed server url. 1 option put value /main/index#user/profile/33 inside hidden field , contents of controller.

however not sure how using anchors within markup page may not help!


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -