RewritePath question

J

Jiho Han

I have a web form that goes from an insert mode to an edit mode.
The two modes will have each, different url such as:

(edit) edit.aspx?id=123

vs.

(insert) edit.aspx?parentid=135&type=6

The goal is to have the form post with the (edit) url once the form in
(insert) mode posts back and successfully committed.

Response.Redirect is easy but it requires the browser to reload but more
importantly, some client side action using javascripts cannot be performed
because now you can't register any client scripts to the page.
The client action that needs to be performed is something simple as
refreshing/notifying the parent(opener) of the web form.

I was researching for possible solutions and came upon RewritePath method.
Even if this is not what I am looking for, can some explain exactly what it
does and whether it has any effect on the client browser?

Furthermore, what are some of the options I can employ?
Thanks so much.
Jiho Han
 

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

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top