G
Glenn
I am an old ASP developer that has begun porting existing apps to ASP.NET.
I am currently working on a wizard dialog that contains about 4 pages. In
ASP in order to keep track of user entered data on the various wizard pages
I had to manually create hidden form fields and pass these between pages.
The form action either went to the next or previous page in the dialog,
depending on whether NEXT or BACK button was pressed. All validation was
done in client side script.
Should I emply the same techniques in ASP.NET, or is there a more efficient
way.
My initial thoughts were to write a custom class capable of storing the
wizard dialog info and instantiate it as session var. Whenever a dialog
button is clicked I will update this structure via a postback server event,
and then move onto the next/prev page using the Response.Redirect or
Response.Transfer.
Am I on the right track?
Thanks,
G.
I am currently working on a wizard dialog that contains about 4 pages. In
ASP in order to keep track of user entered data on the various wizard pages
I had to manually create hidden form fields and pass these between pages.
The form action either went to the next or previous page in the dialog,
depending on whether NEXT or BACK button was pressed. All validation was
done in client side script.
Should I emply the same techniques in ASP.NET, or is there a more efficient
way.
My initial thoughts were to write a custom class capable of storing the
wizard dialog info and instantiate it as session var. Whenever a dialog
button is clicked I will update this structure via a postback server event,
and then move onto the next/prev page using the Response.Redirect or
Response.Transfer.
Am I on the right track?
Thanks,
G.