Questions tagged [validationgroup]

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.

43 questions
1
vote
3 answers

ASP.NET 3.5 validation groups not working

I wish I could paste in my markup, but it's too complex and contains a lot of references to the client's company name. I am hoping someone with vast experience might be able to point me in the right direction. We have a master page with a…
oscilatingcretin
  • 10,457
  • 39
  • 119
  • 206
1
vote
0 answers

Captcha to be included in the validation group

i have created a captcha function in my "contact us" page where the end user needs to verify the captcha given before he/she is able to send a message to us. The captcha validation is correct - meaning, it reads the captcha whether it is correct or…
Paolo Duhaylungsod
  • 487
  • 1
  • 7
  • 25
1
vote
1 answer

How to set default group in bean validation context

I'm working with bean validations and I'm searching for a possibility to set a default group of my own bean validation annotation. I have something (working) like this: Application.class (calling validate on MyBean) public class Application { …
bobbel
  • 3,327
  • 2
  • 26
  • 43
1
vote
2 answers

Validation Group in ASP.NET 1.1

I have 2 buttons which validates different sets of textboxes (which have corresponding asp validators). How can I control the validations triggered by each button?
user2545231
  • 245
  • 3
  • 10
1
vote
1 answer

how to stop a series of validators in a validationgroup to stop firing upon error? asp.net

there are 3 validators on an textbox, asp:RegularExpressionValidator asp:RangeValidator asp:CompareValidator some input will trigger all 3 of them, how can I stop firing the rest upon any error?
Li Tian Gong
  • 393
  • 1
  • 6
  • 16
0
votes
0 answers

2 buttons in changepasswordtemplate validate differently

I added one more submit button (Button1) to my changepasswordtemplate. I added the same validationgroup as original (ChangePasswordPushButton) to button1 but this one only validates/shows after Postback. The first one behaves as…
0
votes
1 answer

JSF 2.0 + Bean Validation + More Validation Groups In One Form

I'm trying to create form for editing entity object when selected from datatable. So when user clicks commandButton in datatable, myBean.person property is filled with appropriate person object. Person has "status" property. I'd like to validate…
Mark.
  • 23
  • 7
0
votes
1 answer

Validation Group

Is it possible to get and control a validation group using javascript? I was able to validate ASPxHtmlEditor if empty or not, but i need to control the validation group. I'm using .net 2.0. EDITS [04202011] I need to make ASPxHtmlEditor a required…
KaeL
  • 3,639
  • 2
  • 28
  • 56
0
votes
2 answers

How can I achieve the effect of multiple validation groups on a single validation control?

I need to be able to apply multiple validation groups to some of the controls on my page, because for each of the three submit "modes", there is a different set of required fields. I have three submit buttons, and each one has its own validation…
Eric
  • 53
  • 9
0
votes
1 answer

Two Validation Groups in a Rad Wizard Control

I have a "RadWizard" control (from Telerik) with two "RadWizardSteps" and two different "ValidationGroups". When I click the first button (BtnArrayAdd), the validation for the "TxtArrayName" control works correct. When I click the second button…
user3384512
  • 55
  • 1
  • 1
  • 4
0
votes
1 answer

RequiredFieldValidator for dropdownlist not working on Submit button click

I have a RequiredFieldValidator for dropdownlist. Both are inside UpdatePanel. It is not validating user selection from dropdownlist when submit button is clicked. Please guide what am I missing.
SilverFish
  • 1,014
  • 6
  • 28
  • 65
0
votes
0 answers

How to scope a ValidationGroup

I have 2 buttons, costButton and detailsButton, and one textbox (with associated RequiredFieldValidator) on my aspx page. costButton button and the textbox belong to ValidationGroup costValGroup. detailsButton doesnt belong to any validation…
Null Head
  • 2,877
  • 13
  • 61
  • 83
0
votes
0 answers

Using LinkButton to validate Validation Group

In a .Net WebForm I have a Button working fine to validate a ValidationGroup using the following: However if I use a LinkButton in…
Maureen
  • 207
  • 1
  • 4
  • 11
0
votes
0 answers

ValidationGroup Not Working in WebControl

I have an address form WebControl built in a class library that I use in a number of projects within a single solution. I am trying to send in a ValidationGroup and assign it to all the RequiredFieldValidators in that control and it does not…
0
votes
1 answer

ValidationSummary is not displaying error message on server side after group assignment

I have a ValidationSummary control that was initially working with all my validation controls at the beginning, however, later on when I assigned my validation controls to groups, ie, give them a group name in the ValidationGroups attribute, it does…