[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

Activating Select Properties in Wizard Control

I have a form built using an asp.net wizard control.  The form may be used to enter new records as well as to edit incomplete records.  In edit mode the user may use the sidebar links to jump to the particular section in need of editing.  The last step before finalizing writes out all of the values that have been entered for user review.

My problem is in edit mode where various controls are bound to saved data for the record.  I use a stringbuilder to write out the values to be reviewed and grabbing tb1.text works fine.  The problem is getting the selected text from dropdowns.  Anything on step one is fine since the process starts there, but any dropdowns on skipped steps don't seem to be accessible until I go and activate that step.  If I then return to the review (no changes made) all is well.  Right now it appears my choices are to force the user to step through the entire form again or to provide incomplete feedback for review.   Is there any way to trick the wizard into activating those steps on load when I am in edit mode?  

Thanks for any nuggets of wisdom I might try.
0
AJ0718
Asked:
AJ0718
1 Solution
 
Roopesh ReddyIT AnalystCommented:
Hi,

The store the default values in Session and update the session if modified, else you can use that values to display!

Hope it helps u...
0
 
AJ0718Author Commented:
Thanks for the response.  That's pretty much the direction I ended up going.  In my query for edit mode values I also grabbed the matching text value and stored in a hidden field which is updated on selected index changed.  Now when the session is edit it reads from the hidden fields rather than the selected text.  I just can't think of a better way to go about this.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now