I am using Accordion panel in my web page which have three panel. In each Panel i have fields and some fields are required so i used asp validation control.
I have only on Sumbit button.
Problem.
By default first panel is open on load. When i press submitt button. if i am missing required filed then its shows the required field message.
Now i fill all the required field in the first panel and press the submitt then required will message for the second panel not shows. basically second panel is not open so the error message is not display.
When i open the second panel then i see the error message display their.
I want when user missing required field in inactive panel then inactive panel should open and shows the required field message.
shahid.majee...
Member
620 Points
547 Posts
Validation Control in different accordion panel Problem
Nov 24, 2012 08:33 PM|LINK
Hi,
I am using Accordion panel in my web page which have three panel. In each Panel i have fields and some fields are required so i used asp validation control.
I have only on Sumbit button.
Problem.
By default first panel is open on load. When i press submitt button. if i am missing required filed then its shows the required field message.
Now i fill all the required field in the first panel and press the submitt then required will message for the second panel not shows. basically second panel is not open so the error message is not display.
When i open the second panel then i see the error message display their.
I want when user missing required field in inactive panel then inactive panel should open and shows the required field message.
How i can achive this.
Shahid Majeed
Email: shahid.majeed@gmail.com
chetan.sarod...
All-Star
65839 Points
11163 Posts
Re: Validation Control in different accordion panel Problem
Nov 26, 2012 02:34 AM|LINK
You can expand the Accordion extender once validations occurs
http://forums.asp.net/t/1598525.aspx/1
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.