Validation control and postback
Hey there,
I have a simple calendar control, a corresponding "Date of Birth" textbox, and a "Name" textbox. I have just setup a RequiredFieldValidator on the "Name" textbox, but whenever I select a date from the calendar, it doesn't post back, because the "Name" textbox isn't filled in. Where or how do I place my code for "if !ispostback" for the validation control? I am using C#.
|