I struggle with something really simple… help?
I want to do the following:
I have two pages with tabs (JQuery) and I want to remember the tab selection. I decided to use the query string in order to achieve that, but switching between pages I don’t know how to pass the tab.
Example: I have an url http://localhost/Object/Edit/1#tab_tax1
And I have my link to the other page:
<%= Html.ActionLink(Resource.Details, "Details", new { id = Model.Object.ID })%>
I want to pass somehow the “#tab_tax1” so I keep the selection in the other page too.
Thanks!
instead of using action link compose only the url inside the href of the “a” tag: