This question is locked. New answers and comments are not allowed.
Hi,
I have a tabstrip app where on tab loads a form form for editing. Of course, the tab has parameters and calls an actionresult method that gets the record from a table before displaying it for update.
If i want to redisplay this form, i have to call the selectedindex for this tab. But if I do, the tab parameters are resent and the page is repopulated with the data.
My issue is that when I send the form to its post method and there is a "ModelState" error, how do i redisplay the tab area, with the current data (wether the data is right or wrong) still in the form ?
Are there any samples that do this ?
thanks for your time
I have a tabstrip app where on tab loads a form form for editing. Of course, the tab has parameters and calls an actionresult method that gets the record from a table before displaying it for update.
If i want to redisplay this form, i have to call the selectedindex for this tab. But if I do, the tab parameters are resent and the page is repopulated with the data.
My issue is that when I send the form to its post method and there is a "ModelState" error, how do i redisplay the tab area, with the current data (wether the data is right or wrong) still in the form ?
Are there any samples that do this ?
thanks for your time