Advertisement

03.31.2008 at 11:33PM PDT, ID: 23284917
[x]
Attachment Details

Infragistics WebGrid Validation

Asked by j_young_80 in Infragistics, Miscellaneous Web Development, Programming for ASP.NET

Tags: , ,

I'm hoping someone can help with this - i'm a little lost on building a Validator on the fly for the Infragistics Ultrawebgrid. I've found the column that I want to build the Validation on - but i'm confused on how I tie a current Validator to it - the two Reg Expression Validators I want are below (1 numeric, and at least 6 characters). At build time I have the option to InGrid.Bands(BandPos).Columns(ColPos).Validators.Add(blah). I've tried to add the ID's of the Validators into the Add statement, but to no avail - can anyone put me on th right track?

Many thanks,

jamie


Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
<asp:RegularExpressionValidator ID="RegularExpressionValidator1"
                                    Display="Dynamic"
                                    Text="Your password must contain at least 6 Chars"
                                    ValidationExpression="\w{6,}" ControlToValidate="UltraWebGrid1"
                                    Runat="Server" />
 
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator2"
                                     ControlToValidate="UltraWebGrid1" Display="Dynamic" Text="Your password must contain at least one number and letter!"
                                    ValidationExpression="[a-zA-Z]+\w*\d+\w*"
                                    Runat="Server" />
[+][-]04.09.2008 at 07:25PM PDT, ID: 21321188

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.28.2008 at 03:05PM PDT, ID: 21458053

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Infragistics, Miscellaneous Web Development, Programming for ASP.NET
Tags: Infragistics, Web Grid, .NET
Sign Up Now!
Solution Provided By: j_young_80
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628