Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6072187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:07:56+00:00 2026-05-23T10:07:56+00:00

I have 3 RadioButtons from same group, and every radioButton enables its listbox. I

  • 0

I have 3 RadioButtons from same group, and every radioButton enables its listbox.
I want to check if radiobutton was checked and its if items were selected from its listbox.

So I”m using CustomValidator with only server side method which checks the conditions and fires the specific ErrorMessage.

My question is, can i call this method witout assigning the customValidator to a control, since i have 3 possible radioButtons?

thanks,
Eddie

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:07:57+00:00Added an answer on May 23, 2026 at 10:07 am

    It is possible to use a
    CustomValidator control without
    setting the ControlToValidate
    property. This is commonly done when
    you are validating multiple input
    controls or validating input controls
    that cannot be used with validation
    controls, such as the CheckBox
    control. In this case, the Value
    property of the arguments parameter
    passed to the event handler for the
    ServerValidate event and to the
    client-side validation function always
    contains an empty string (“”).
    However, these validation functions
    are still called, where appropriate,
    to determine validity on both the
    server and the client. To access the
    value to validate, you must
    programmatically reference the input
    control you want to validate and then
    retrieve the value from the
    appropriate property
    . For example, to
    validate a CheckBox control on the
    server, do not set the
    ControlToValidate property of the
    validation control and use the
    following code for the handler for the
    ServerValidate event.

    http://msdn.microsoft.com/en-us/library/9eee01cx%28v=VS.100%29.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ListBox with radiobutton on the horizontal line. Number of radiobuttons is
I have group radio buttons with same name cost and different id's cost_1, cost_2.
I have group checkboxes and I like if this group have behaviour like radiobuttons
I have a group of radio buttons and a group of checkboxes. I want
I have visual studio setup project with a custom RadioButtons dialog. How do I
I have radiobutton in Silverlight 3 with FontSize=20. Within the control the radio dialog
I have a radiobutton column in a gridview, inside many nested asp tables. I
I have three radio buttons with same name and different values.When I click the
I have 2 radio buttons, what I want is if a user selects the
In my application, I have URN-identified data coming in from the server. I'm in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.