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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:16:07+00:00 2026-05-29T09:16:07+00:00

I have a repeater showing the rows of data.I have used javascript for user

  • 0

I have a repeater showing the rows of data.I have used javascript for user to add new rows to the repeater.

When the new row gets added, a image is displayed on one of the cells .Clicking on that image opens up a new screen.

New screen has ability to search for the records.The search results are shown in a datagrid.

When the user click any of the rows, the same data gets added to the newly added row in repeater of the parent page.

I wish to make this functionality so that mulitple resources can be added at once.
I have put in the check boxes on every row and a button. Button click will add all the checked rows to the repeater in the parent page.

Can you tell me how to handle these multiple rows when sending to the parent page ?

I am using parent.opener to call and pass the values to the parent page.

Thanks

  • 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-29T09:16:08+00:00Added an answer on May 29, 2026 at 9:16 am

    You need to pass the data of selected rows back to the parent. A script library such as jquery can make it a lot simpler. For example,

    $('#yourButton').click(function() {
    
       var data = [];
       // Assuming grid is CSS class for the grid and selector is CSS class for checkboxes 
       // that selects rows to copy
       $('.grid .selector:checked').parents('tr').each(function() {
            var rowData = [];
            // slice will ignore first td (assuming that it contains the selector checkbox)
            $(this).find('td').slice(1).each(function() { 
                rowData.push($(this).text());
            });
            data.push(rowData);
       });
       // now data will a jagged array - each element will be array of cell values
       // pass the data back to your opener
       ...
    });
    

    EDIT:
    Corrected a small typo (parents instead of parent).
    Also see this jsfiddle for a working illustration that I have put up for you.

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

Sidebar

Related Questions

I have a repeater for showing my data . this repeater showing 2 field
I have an aspx page with repeater control on it used for showing the
I have a Repeater with a Button inside the ItemTemplate . I added the
I have a radiobuttonlist inside a repeater. I am showing a screenshot of what
I have a repeater control in which i am showing values from database and
I have repeater and it gets a column value from modalpopup. I need to
I have a repeater which fetches data from a database and shows some labels
I have some javascript in a repeater item which calls AC_FL_RunContent to load and
I have a user control in which I have Repeater control and inside this
I have a repeater that is bound with three values, a visible User Name

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.