Hi All,
I have a login control on payment page, if user logs in, i want to show them the payment options i.e. payment by existing card, but if they are not, they would enter all the card details.
Problem: when user hits login button, in that refresh, i want to show the payment on existing card option, but it doesn't happen.
Login related details are in a session, and i am checking session variables on (!Ispostback).
For the first time, when page loads, session variables are empty so that section is skipped. When user logs in, page loads, (!Ispostback) section is skipped, and login control's load executes giving values to login session variables. At this point, first even if i refresh the page, i wont get into the (!Ispostback) section, second i really need to show payment on existing card as soon as user hits login and page comes back...
Any ideas on how to do it?