I am currently working on a very complex data input form, around the ASP.NET web form. After the form is complete, we really want to provide a chance for the user to review their input before submitting the form (as well as to return to make changes to your data, if necessary ).
Due to the large number of fields, I wanted to use a FormView control due to the ability of the database itself, to remove a very tedious code, though there is no easy way to offer this functionality is.
Currently, my current approach uses object data sources so that all form fields can bind. I have created two 'modes of operation' on the data source; One mode temporarily saves the object to the user session (again allows to be read only for read / edit mode - it facilitates the review / modification function), while the second mode is actually a database entry Does.
It looks strong enough at this point, it still feels quite dirty for me. I know that I can use a wizard / multi-type approach, but then you can automatically database Lost for reasons (I believe?). I'm sure this is a very common problem, so how is it usually in the web form environment?
Thank you!
I'm currently working using a custom wizard setup (not asp.net 2.0 wizard) Does. This is included in many stages of your wizard's need, and when you go from one step to the next, the code saves the value in a final step (a read-only review) when the user goes to that final stage You can go back to the steps that need to be updated. When it is happy, the user presents the wizard, and the data is saved in DB. It is basically a series of panels whose visibility has been toggled.
You should still be able to use the ObjectDataSource for the editable field, the panel should not affect or the mutliview is visible or not binding. When you move from one panel to the next time, you can only update the reading steps (as I said earlier) while maintaining edible controls bound for the ObjectDataSource. When you go back to any of the steps that need to be modified, you are still bound, so when you make a change and submit or click the button, then the object data source should be used.
Anyone else have other ideas?
Comments
Post a Comment