How do we know the outgoing url of the MVC application?
I have an ASP.NET MVC application that has a view called Products.
This 开发者_StackOverflowProducts View has a Left Menu Navigation that is implemented using NavMenuProducts.ascx Partial View. This Menu is implemented using JQuery Treeview so that it has the list of ProductNames as the Parent Node and it is expandable(For Example: 10 Products). Each of these Products have a ChildNode as DocTypeName and it is a hyperlink(For Example: 3 DocTypeNames).
When the user clicks ChildNode Hyperlink all the matching Documents are displayed and is implemented using Ajaxy call. So that the user has better UI experience and the display URL is always http://DocShare .
Now based on the link that the user clicked, how can i know the outgoing url? (For Example: Though it is displaying http://DocShare, the url could be http://DocShare/Products/Product1/Letter
Appreciate your responses.
Thanks
On Facebook and Twitter, content loaded asynchronously modifies the current page URL by adding the permanent link for the loaded content as a value in URL's anchor/hash. For example: http://www.website.com/#!path/to/some/content
jQuery BBQ is an excellent plugin for creating a navigatable history of client-side actions by updating the current URL as events occur. jQuery BBQ can respond to changes to the current page hash so that specific items/values within the hash can be parsed and then used to initiate client-side requests for the desired content.
jQuery BBQ Plugin
精彩评论