Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using javascript popup and i want to pick the values from Parent's page Datalist and show on popup..
Posted

1) In your popup page, when items get selected, put them in one session variable. And then this variable can easily accessed by your parent as well as any other page.

2)For your scenerio Please Add a Hiddentxt field in your parent window and then from Popup when you finish your operation save the primary key on the parent window's hidden field using following method

window.parent.document.getElementById("HiddenFieldName").value = "Your value"

and rather to fill the dataset on Popup fill it on your Parent page.

See, I am unable to understand what you were doing on popup but what I have understand from your text I gave you the solution if you need more help please buzz again.
 
Share this answer
 
I have a AllProduct.aspx page and when i click on "Add to cart" button then a pop up should be open and there should be open another page productdetail.aspx and then there should be quantity dropdown and "Add" button...when i will click on that button then the popup should be close and values should be go into the cookies.
 
Share this answer
 

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