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

  • Home
  • SEARCH
  • 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 6056851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:25:24+00:00 2026-05-23T08:25:24+00:00

i have a repeater control in that a checkbox is added for a studies

  • 0

i have a repeater control in that a checkbox is added for a studies column.
i want to get the rows for checkbox selected…hw to do this??

i have checkbox in itemtemplate like this

<asp:CheckBox runat="server" ID="GRAD_STUDIES_IND"  Value='<%#Container.DataItem("GRADSTUDIES")%>'
DataSetID="dsStudent" BoundDataMember="school"
Bind="false" RepeaterDataSource='<% # Container %>'  />

this control checkboxes 2 columns…but i want to access only one column
i tried this way

var rp1=document.getelemtbyID('<%=rp_student.ClientID%>')
var chk= rp1.getelementbytagname('input')

hw can i access particular column chekboxes

  • 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-23T08:25:25+00:00Added an answer on May 23, 2026 at 8:25 am

    jQuery. Since it makes the task easy for you. You can put the repeater in a well id-ed div element; also give a good class name for your checkbox and do something like:

    $('#chkContainer .chks').each(function(){
    
        if(this.checked){
            //validation code goes here
        }
    });
    

    I’ve only shown you a simple way, the actual path to take is your own creation.

    UPDATE:

    Well, since you are not using jQuery, try something like:

    var divContainer = document.getElementById('chkContainer');
    var inputs = divContainer.getElementsByTagName('input');
    for(x=0; x<inputs.length; x++){
        var element = inputs[x];
        //check if the element if of type checkbox,
        //and if that checkbox is checked
        if(element.type == 'checkbox' && element.checked){
            //code goes here...
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a repeater control that contains an ItemTemplate containing a databound label and
I have a nested Repeater control in the ItemTemplate of another Repeater. I want
I have a nested repeater control. Here is what the HTML looks like: <ItemTemplate>
I have a Repeater control that adds rows to a table. The data inside
I am annoyed with a problem I have repeater control in updatepanel like this.
I have a Repeater control that is being bound to the result of a
I have a Repeater control that loads instances of a custom control I have
Greetings! I have a Repeater control that's using an XmlDataSource control. <asp:FormView id=myFormView runat=server
I have a .NET repeater control that is data-bound to a List. As part
I have some code that prints out databse values into a repeater control on

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.