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
Post a Comment