Question : How can I declare and set values to the MaskedEditValidator using C#?

Hi!
I need to declare the MaskedEditValidator in C# so I can enter a value to the "Validationgroup" for this Ajax control using the code behind :

Protected System.......................??How I declare an Ajax control.....????........     MaskedEditValidator2;

I need to add this value to the attribute "ValidationGroup"  using C#:
    MaskedEditValidator2.ValidationGroup = "Group1";
Thanks
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
Open in New Window Select All

Answer : How can I declare and set values to the MaskedEditValidator using C#?

This link
http://forums.asp.net/t/1125838.aspx
shows samples where validation groups are set.
Random Solutions  
 
programming4us programming4us