G
Guest
I query database,
QuestionID | QuestionName | QuestionType
1 | FirstName | TextBox
2 | LastName | TextBox
Loop
Create TextBox
Create RequiredFieldValidator
Here is my problem.
If user enters LastName, then FirstName is required.
I can get LastName textbox to autopostback, but how do I create a sub that
will capture the autopostback and then enable the requiredFieldValidator.
I have many textboxes in the database so I need something that is generic?
thanks
QuestionID | QuestionName | QuestionType
1 | FirstName | TextBox
2 | LastName | TextBox
Loop
Create TextBox
Create RequiredFieldValidator
Here is my problem.
If user enters LastName, then FirstName is required.
I can get LastName textbox to autopostback, but how do I create a sub that
will capture the autopostback and then enable the requiredFieldValidator.
I have many textboxes in the database so I need something that is generic?
thanks