User-893317190 posted
Hi kengkit,
Hash in the url ( in your case is #gallery-tab) will not pass to server, because it is used to guide client side and has nothing to do with server side.
If you open F12 , you will find the real request url is http://localhost:54049/web-portal/gallery/update/45512.html without #gallery-tab.
If you want to pass data to server , please use query string like ?name=gallery-tab.
Or you could get gallery-tab in client side using javascript :window.location.hash.
Best regards,
Ackerly Xu