Rank: Advanced Member Groups: Member
Joined: 1/9/2009 Posts: 97
|
OK im using the Callback Panel control to make a Registration Wizard Page. The Callback Panel contains 3 DIVs and only 1 is visible at a time.
1st DIV is a welcome and when the Start Button is clicked it postback and hides itself and show DIV#2 2nd DIV is a TOS and when continue is clicked it postback and hides itself and shows DIV#3
Here the issue 3rd DIV contains a reg. Form with validation controls when the user clicks the submit it still pot to the server and bypasses the validation control. I have narrow this down to the fake its hidden for the inital page load and 2 post backs. If i make it the first DIV and load it during the first Inital load it works fine but now anywhere else from there
Any help is appreciated
|
Rank: Advanced Member Groups: Member
Joined: 1/9/2009 Posts: 97
|
I apologize i didnt see you guys replied to an old one about this issue. I will try that fix. Any idea why i need to add a custom validator outside the callback?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe that is to make sure ASP.NET renders all validator related code to the client before a callback takes place. This is necessary for the callback to "update" validators. It won't be able to "update" if there was nothing at the very first place at all.
Thanks!
|