This is a migrated thread and some comments may be shown as answers.

Validation on 1st page prevents second page to post

1 Answer 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Johan
Top achievements
Rank 1
Johan asked on 10 Apr 2011, 04:54 PM
Hi,

I have a RadAjaxPanel which contains the following controls:

- RadTabStrip
- RadMultiPage

The RadMultiPage consists of two page views both pages also contains buttons which posts data to the server on server-side.

I also have one RadInputManager which takes care of my validation for both pages.

At the time I was only working with one page view everything worked just fine. However, as soon as my second page view was added I ran into a problem where the second page view won't submit due to required fields not filled out in the first page view, even though all the validations passed on the second form.

Any ideas what I'm doing wrong here?

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Nikita Gourme
Top achievements
Rank 1
answered on 11 Apr 2011, 09:19 AM
Try to set RenderedSelectedPageOnly = true for the multipage, thus I think the validation only for the active page view will be triggered. Otherwise all page views, visible or not, will be validated.

Nikita
Tags
General Discussions
Asked by
Johan
Top achievements
Rank 1
Answers by
Nikita Gourme
Top achievements
Rank 1
Share this question
or