Calling a Javascript Function on LoginError Event
<p>I have an ASP.NET login control placed within a simple JavaScript popup modal that I developed.  I then have the modal in an update panel 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.</p>

<p>I basically need to know how to change the CSS display attribute of an element within C# or how to call JavaScript within c#.</p>
