I have an asp.net login control placed within a simple javacript popup modal that I developed. I then have the modal in an updatepanel so that I can get a response from the server on successful login. When the LoginError event fires I want to call a javascript function that displays the modal popup; as on the button press, the popup div disappears.
I basically need to know how to change the css.display attribute of an element within c# or how to call javascript within c#.