Click here to Skip to main content
15,907,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to pass data from link in parent page to popup window i tried to use request.querystring but popup window closed itself. i don't know how can i do with it.
I am using asp.net and c#
plz help me
Posted
Comments
Prerak Patel 11-Apr-11 6:26am    
Don't you like to share some code?

On page load store your Querystring value into an HiddenFieldValue and use this value to proceed further.

Some code would be beneficial to understand ur concern.
 
Share this answer
 
some code about my question:
I make a link in table for open my popup: AddCell(A href=javascript:ShowModalDialog(),reservationDetailsId= + reserDetail.ReservationDetailsId + Visitor</A, tr);
in side a link a pass data in reservationDetailId parameter and get it in popup load
tried this but doesn't work:
if (Request.QueryString["reservationDetailsId"] != null)
{
Label7.Text = Request.QueryString["reservationDetailsId"].ToString();
}
to store a qwerystring value into HiddenFieldvalue is not possible because is load popup which is not work with Request.QweryString.
 
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