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 6955701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:46:19+00:00 2026-05-27T14:46:19+00:00

I have two grid views containing 12 and 24 rows resp. Each row contains

  • 0

I have two grid views containing 12 and 24 rows resp. Each row contains radiobutton list(Yes/No). Below both the grids, there is one more radio button list. In first grid, all radio buttons are by default “Yes”. If any one selects know, the radio button below the grids should become disabled with selection =”No”. In second grid the radio buttons are by default “No”. If any one selects Yes, the radio button below the grid should become disabled with selected value=”No”. All these work should be done through javascript…

How can I do so…???

  • 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-27T14:46:19+00:00Added an answer on May 27, 2026 at 2:46 pm

    First user clicked a button at first grid. Then you capture it and changed the second grid to false. Use EventListener. I used checkbox for this job. Because you cant set more than 1 radio button checked at same time in same form.

    <h3>First Grid</h3>
    <input id="radio1_1" type="checkbox" name="correctAnswer" value="1">Yes
    <input id="radio1_2" type="checkbox" name="correctAnswer" value="2">No
    <br>
    <h3>Second Grid</h3>    
    <input id="radio2_1" type="checkbox" name="correctAnswer" value="1">Yes
    <input id="radio2_2" type="checkbox" name="correctAnswer" value="2">No
    <br>
    <h3 id="h3">Third Grid</h3>
    <input id="radio3_1" type="checkbox" name="correctAnswer" value="1">Yes
    <input id="radio3_2" type="checkbox" name="correctAnswer" value="2">No
    

    And a jQuery function

    $(document).ready(function(){
    $('#radio1_2').prop('checked', true);
    $('#radio2_2').prop('checked', true);
    $('#radio3_2').prop('checked', true);
        $('#radio1_1').click(function(){
            $('#radio2_2').prop('checked', false);
            $('#radio2_2').prop('disabled', true);
        })
        $('#radio2_1').click(function(){
            $('#radio3_2').prop('checked', false);
            $('#radio3_2').prop('disabled', true);
        })    
    });
    

    You can find this example at this link

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

Sidebar

Related Questions

I have an asp.net page where two grid views are available showing current stock
I have two HeaderedContentControl s like those below that each have their content property
Consider a gridview row containing two columns... Each column has two textboxes... Onkeypress in
I have two different grid controls on the same form. They share the same
We have two textBlocks like this: (we used .NET FW 3.0) <TextBlock Grid.Column=0 Name=tabName
I have two applications written in Java that communicate with each other using XML
I have two arrays of System.Data.DataRow objects which I want to compare. The rows
I have two database tables, one for Users of a web site, containing the
hi i have two xml file and i want to bind grid view eith
I have a grid view will two different button columns. I want to perform

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.