0

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

DarkW1nter
  • 2,933
  • 11
  • 67
  • 120

1 Answers1

1

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 ;)

Tomas Vana
  • 18,317
  • 9
  • 53
  • 64