I have an asp.net page which launches a child page in another browser window to look like a popup.
I want to pass 2 pieces of data to it from the parent page.
I know ots possible with javascript, but is there a way to do it using C#?
thanks again
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Provided that the data is not too big (in sense of actual values) you can simply add it as a parameter to the URL (like
Popup.aspx?Data1=Piece_of_data&Data2=Piece_of_data).Otherwise you’d probably want to do the same thing with POST request, it depends on how exactly you are opening the popup 😉