I am using httpModule to rewrite urls. I am facing problem with serverControls links and imageUrl's for example. http://localhost/appl/tabid__216/default.aspx rewritten to http://localhost/appl/default.aspx?tabid=216 is pointing to http://localhost/appl/tabid__216/image/someImage.gif
Same thing happens with NavigateUrl and any place you use "~/" to define root path, I was under impression that when we use "~/" it would always point to root of server but it seems that under cover it maps path of current page and renders src attribute. I
would appreciate if somebody can find work around to this problem so that I do not have to change all existing links. Jigar
Jigar Desai -----------------------
Do not forget to "Mark as Answer" on the post that helped you.
Jigar
Contributor
4629 Points
935 Posts
Rewrite and Links with server controls.
Nov 05, 2003 01:44 PM|LINK
-----------------------
Do not forget to "Mark as Answer" on the post that helped you.