http://msdn.microsoft.com/en-us/library/0ke7bxeh.aspx
∞ Andy Badera ∞ +1 518-641-1280 ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Wed, Oct 7, 2009 at 9:22 AM, littleccguy <[email protected]> wrote: > > Well, before I go posting all of the page asp code and the code behind > and the called class for a very simple idea, let me clarify. When I > say 'validations', I am talking about the built in validators provided > in VS. > > I have a textbox and ask you to enter a number between 1 and 100. If > you enter a valid number, the results labels shows the sqrt. If you > try again with and invalid number, a character, or no number at all, > the validators provided in VS fire, but the sqrt from the first try is > still posted because the page does not postback. If it did, I could > use something like: > > if(!Page.IsValid) > { > lblResutls.Text = " "; > } >
