Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a code to validate all textbox below:

VB
For Each ctl As Control In Controls
    If TypeOf ctl Is Infragistics.Win.UltraWinEditors.UltraTextEditor AndAlso ctl.Text = "" Then
        ctl.Focus() 
        MsgBox(ctl.Name) 
    End If 
Next

Here I need to get all infragistics controls.
Or else suggest me to validate all the infragistics controls such as textbox, date time picker, combo.

Try to understand my problem.
I don't want solution for a single control, I am having nearly hundreads of textboxes.

What I have tried:

VB
For Each ctl As Control In Controls
    If TypeOf ctl Is Infragistics.Win.UltraWinEditors.UltraTextEditor AndAlso ctl.Text = "" Then
        ctl.Focus() 
        MsgBox(ctl.Name) 
    End If 
Next


Here I need to get all infragistics controls.
Posted
Updated 2-Jan-18 19:27pm
v4
Comments
Sissy Ram 29-Dec-17 2:26am    
anyone there?
kindly help me as soon as possible please.
Sissy Ram 29-Dec-17 4:53am    
Please anyone atleast reply

1 solution

Hi Team,
I got links how to validate numerous infragistics controls

https://www.infragistics.com/help/winforms/winvalidator

https://www.infragistics.com/help/winforms/winvalidator-validate-a-group-of-controls

https://www.infragistics.com/help/winforms/winvalidator-validate-all-controls-associated-with-winvalidator

https://www.infragistics.com/help/winforms/winvalidator-determine-if-a-value-is-in-a-specified-list

https://www.infragistics.com/help/winforms/winvalidator-validate-during-a-specific-event
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900