Updating URL using .Net 2.0 Wizard Control


Joined
Jun 18, 2009
Messages
1
Reaction score
0
Hi there,

I'm currently using a Wizard Control in .Net 2.0.

By default, when navigating from one step to another, the form posts back to itself, which means that the URL does not change.

The problem is that when it comes to tracking web activity, i.e. tracking form hits, it would be hard to make out where the user had left the form, i.e. at what step was the user at before they had terminated the session.

So what I need it to do is basically either rewrite the URL, or just add a parameter at the end of it, e.g. "~/wizard-form/Default.aspx?CurrentStep=StepOne".

I'm not sure as to what the best would be the best way to go about this.

I can think of a few ways to approach this:

1. Override the Wizard control, and somehow modify the postback so that it posts with desired paramters.
2. Override the HTTP Module so that a new URL is requested for each step.

3. What I am trying to avoid, and that is to use Response.Redirect everytime a user goes to a new step, and save the form variables in session state and then reload those after the form is redirected.

Your thoughts are appreciated.

Thanks,
Zaid
 
Ad

Advertisements


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

Top