TextBoxes Validation
How can I validate 2 textboxes so that the data entry number in textbox 1 is always bigger than that in textbox 2 ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Sep 24, 2011, 4:33 PM
So in other words, it might be frustrating for your users if you validate each textbox when the focus leaves either one. Consider validating only when the user is finished with both fields; such as when a "save" or "submit" button is pushed.
Hemant KumarPosted Sep 23, 2011, 5:49 AM
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test Page.aspx.cs" Inherits="Test_Page" %>
<%@ Register Src="~/UserControls/TestControl.ascx" TagName="UControl" TagPrefix="UC" %>