Link to home
Start Free TrialLog in
Avatar of rakhy_rakey
rakhy_rakeyFlag for United States of America

asked on

Validation controls are not working when used server.transfer

Hi Guys...

I have 2 pages.

when I run page 1 directly, my validation controls on the page are working. But when I came from other page using server.transfer, my validation controls are working. I had to refresh the page to make them work.

What might be the reason ?

Thanks,
Rakhy.
Avatar of rakhy_rakey
rakhy_rakey
Flag of United States of America image

ASKER

I think we need to do the server side validation for this klnd of scenario.
SOLUTION
Avatar of jagrut_patel
jagrut_patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi jagut..

Thanks for the reply. I tried using response.redirect . But still the same. My client side validation controls are not working. But when I refresh the page. Then they are working again.

Don't know what the problem is ...
Hi eridqnix...

I am able to get the form variables to the transferred page. But my validation controls are not working on the transferred page. But when I refresh it, then they are working fine with out any problem.

Thanks,
Rangy.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It seems like I may need to write serverside validation for this scenario.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Finally I am able to get the output by doing the post back