ValidationGroup is a feature introduced in ASP. NET 2.0 This allows the developer to place controls in different groups and each group have its own set of validation controls.
Questions tagged [validationgroup]
43 questions
0
votes
1 answer
maskededitvalidator validationgroup is set, still not working
I have 2 textbox which accept time from users, to which I have set the Maskededitextender and maskededitvalidator as follows:
textbox 1:

Jackson Lopes
- 215
- 1
- 5
- 20
0
votes
2 answers
How to remove ValidationGroup attribute in backstage?
Now i have two buttons that contain attributes "ValidationGroup='Group1'".And there will only one button can be displayed when page load(based on some conditions).the problem is the onclick event can't be fired for the hidden button's validation. …

Tangfb
- 183
- 8
0
votes
1 answer
ValidationGroup issue - without group: `DoPostBackWithOptions`, with group: `__dopostback`
Validation works fine until I make use of ValidationGroup. Afterward the form submits but no validation occurs. This is the href on the LinkButton before and after I use the ValidationGroup.
Before: javascript:DoPostBackWithOptions(...)
After:…

sparebytes
- 12,546
- 3
- 21
- 32
0
votes
1 answer
Validation called on controls from different validation groups
I have 2 buttons and other controls in a page. Button1 has validation group Validation1 and Button2 has Validation2. When I click Button1, controls with Validation2 are validated, which is not supposed to happen. How can I avoid this?

hima
- 610
- 3
- 10
- 24
0
votes
1 answer
C# IsVaild not flipping to False when asp.net edit template validation control group runs and should return false
I have a page that keeps track of company Holidays for our HR system, but right now if you try to edit an end date for a holiday and the user accidentally enters an end date that is before the start date it all still validates to true and allows the…

The Doctor
- 11
- 3
0
votes
2 answers
asp.Net ValidationGroup validating correctly except on Enter key
I've seen a variety of questions here that are very close to this issue but none which seem to fit this specific scenario.
Description:
I have ID and Password fields with a Log On button in the Master page. These are in the "LoginValidationGroup"…

DJGray
- 504
- 8
- 26
0
votes
1 answer
validation group validations programatically in asp.net with vb.net as code behind
I have a panel, controls in the panel..these controls validated with a validation group.
This panel will show / hide when a dropdown box changes.
Question is...i want to validate all the controls with validation group in the panel
how to write the…

donga garu
- 69
- 2
- 13
0
votes
1 answer
ValidationGroup easy explanation
Can someone help me with this line of code and tell me what it is looking for? This chunk of code is associated with a text box control on my page.
ValidationGroup="<%# ((TSAPassenger)((RepeaterItem) Container.Parent.Parent).DataItem).PaxKey %>"…

user1566783
- 399
- 1
- 4
- 18
0
votes
1 answer
how to enable/disable asp.net validators on radio button click?
i have asp.net form and several radio buttons on it, they contain nested radio buttons (see picture). TextBoxes have Validators.
The question is: how to disable necessary validators when corresponding radio button is unchecked and enable them when…

user1178399
- 1,028
- 8
- 17
- 32
0
votes
2 answers
Should we always put validation group
Should we always put validation group even if the page has no more than one validation group or should we wait until there is a need to seperate validation group then we put the validation group.

Sarawut Positwinyu
- 4,974
- 15
- 54
- 80
-1
votes
1 answer
Specifying which validation group to use for a bean
Specs : hibernate-validator[5.2.4.Final], spring-context[4.2.2.RELEASE]
I am trying to make the solution described here work as below. But there are no constraint violations encountered & things just pass by fine. Why?
I have two beans, one parent…

nikel
- 3,402
- 11
- 45
- 71
-1
votes
3 answers
Validate() function doesn't fire
Here is my button.
When I write ValidationGroup="vgLinR" in aspx side validation works. But I have…
neverwinter
- 810
- 2
- 15
- 42
-2
votes
1 answer
knockout validation group css applies only first time error happends
I've a knockout model with an array of objects into a validation group. I want to validate existing arrayitems before add a new one into the observableArray, and it's works, but only the first time error occurs. In next error cases, validationgroup…