Click to See Complete Forum and Search --> : simple submit button question


hoshi55
January 9th, 2003, 03:59 PM
hi!

i have a simple asp application that allows a user to login to a site. so i have a form with two textboxes and one button that has its "OnClick" property set to invoke a function that checks back with an sql database if the login is granted

<asp:button text="Login" CausesValidation="true" OnClick="SubmitBtn_Click" runat="server"/>

this works fine with opera browsers, but IE often refuses to reload the page because it doesn't think it's necessary. this happens when a previously not satisfied requiredfield gets filled and i push 'login'.
so how do i FORCE all browsers to reload the page when i push the login button??

thx
eik

sager
January 17th, 2003, 05:37 PM
First of all, all asp web controls should have a unique id. set the id property equal to something. Second, I would like to see the validation control you are using. validation controls link back to an individual control by id. You should post more of your code.