Link to home
Start Free TrialLog in
Avatar of CPOINT2000
CPOINT2000Flag for United States of America

asked on

Turning button invisible in master page, prior to redirecting to content page problem

I have a button that I set it's visible property to false when another button is clicked.  These buttons are in master page.  Then I redirect a form in content page.  redirect works.  in debug I see the button gets the visible false value set.  However it does not become invisible, because in same call I have the redirect.  

If I comment out redirect, button turns invisible.  So I think master page component is not refreshing due to redirect.  Any suggestions what I can do.  for what its worth here is the click code;

            
            sign_btn.Visible = False
            ContentActivFrm.Visible = False
            ContentRegistration.Visible = True
            Response.Redirect("Registration.aspx")

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Johny Bravo
Johny Bravo

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