Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted
Updated 8-Feb-12 1:29am
v2

1 solution

Your use of the term 'parent page' makes me think this is a popup. It's hard to know what sort of popup it is, but I assume it's a real other window, not just a floating div. In that case, you could return the values as XML, I guess. It's also hard without knowing if you're doing postbacks or using AJAX, but I'd be inclined to return the ids of the colunmns in question and if you need the other data, make an AJAX call to get it from the DB.
 
Share this answer
 
Comments
Tech Code Freak 8-Feb-12 12:21pm    
5up!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900