passing values to a neww popup window

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prathibha
    New Member
    • Sep 2006
    • 1

    passing values to a neww popup window

    hi,
    i am using asp.net with c#.
    i created a new window while clicking a button .
    i want to pass values to the new window from the parent page.
    how can i do this ?please help
  • mishibala
    New Member
    • Sep 2006
    • 8

    #2
    lets assume that you want to pass string strpass to a new page
    if you use Response.Redire ct u have to put value like that :
    Response.Redire ct("your_page_n ame?passed="+st rpass);

    you get value from your new page like that:

    string strGet=Response .Request["passed"].ToString();

    you can put any variable iinstead of passed variable. but variable has to be same in Response.Redire ct() and in Response.Reques t()

    good luck

    Comment

    Working...