How to validate dynamic controls
-
Hi guys i have one query, I created textboxes dynamamicaly in ASP.NET. when i select 2 in dropdown list two text boxes will be come, same i will select 100 or more, that i created, now i want to how to validate those text boxes? i done server side vaditation but i want to client side validation. so please help me..... Thanks advance praveen kumar.................... Praveen Kumar.R
Praveen Kumar.R
-
Hi guys i have one query, I created textboxes dynamamicaly in ASP.NET. when i select 2 in dropdown list two text boxes will be come, same i will select 100 or more, that i created, now i want to how to validate those text boxes? i done server side vaditation but i want to client side validation. so please help me..... Thanks advance praveen kumar.................... Praveen Kumar.R
Praveen Kumar.R
Why don't you create dynamic Validators along with your TextBoxes? Just create appropriate Validator controls for each TextBox control you creating, assign it's properties and voila.
-- Mariusz 'mAv' Wójcik master e-software engineer