Accessing master page div control

Jul 24 2013 5:04 AM

Hello 

I have a master page where ive placed my login controls inside a div tag. On my home page that inherited the master page i wnat to access the div tag to hide the div tag when login is successful.


I've tried the directive
%@MasterType VirtualPath="master1.master%

i've named the div id on the master "Login" hoping i can access it on the inherited page.

Can anyone maybe assist me with this...

Thank you

Answers (9)