Hello,
I want to change the url when the end-user is navigating .
Sample:
The URL when any user is navigating = http://localhost:2064/default.aspx#ViewID=EnviarPedidoWeb_ListView&ObjectClassName=VendasWeb.Module.BusinessObjects.PedidoWeb
I want to change for : http://localhost:2064/default.aspx (generic) or http://localhost:2064/EnviarPedido (or for page)…
How I make this?
Processing detail views requires more complex logic because their URLs include additional parameters (the current ObjectKey, ViewEditMode, etc.). You should examine all items of the ViewShortcut (it is a regular dictionary) passed in the GetQueryString method and decide how to translate them to a custom URL. Then, implement the reverse transformation in the GetViewShortcut method. The exact solution depends on your requirements.
Thank you Michael,
I did function GetQueryString to return blank always…
For this project it's sufficient …
You're welcome. Should you have additional questions, please let me know.