RewritePath and Hyperlink's ImageUrl property

A

Aidy

..net 2.0

After much messing around I finally worked out what issue was throwing
errors in my code and found the workaround was easy. After googling I see
it is a known issue

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=235385

Does anyone know of any other caveats I might come across when using the
code below?

Context.RewritePath("~/Target.aspx", false);

I'm just thinking that there may be other similar bugs out there (and has
the one above been patched yet?).

The original URL is in a sub folder but the page it is transferring to is in
the root. Also as the rewriting I'm doing is quite trivial I'm just using
the Application_BeginRequest event to parse the URL and see if I need to
rewrite. I've never really done much url rewriting before and I see from
the web lots of people seem to use custom modules etc. I'm not sure if
that's overkill for my needs, what's the latest thinking on url rewriting?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top