I have a web application that uses the asp.net membership and role providers to allow logins that are members of certain roles to have access to various pages depending on
Could you just put code in the load event to set the username and password strings and fire the onclick event of the login button?