jr53080
New member
I have a webform that takes a date as input into a textbox. The textbox is validated using the Range Validator of type date. The problem is that i also call an AutoPostBack on the textbox for the event OnTextChanged. When the autopostback fires it negates the RangeValidator. What i need is when the date is valid .. it should AutoPostBack and when it is not valid then it would throw up the Validation Error and not post back until the Validation passes.
If anyone has any ideas, it would be really nice .. im thinking i need to do something with JavaScript but im not sure how to Reference objects in my C# and ASP pages..
THanks for the help
If anyone has any ideas, it would be really nice .. im thinking i need to do something with JavaScript but im not sure how to Reference objects in my C# and ASP pages..
THanks for the help