Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i have three web pages example WebpageA,WebpageB,WebpageC.
i am display all webpages like
<html>//WebpageB
<iframe src="WebpageA">
</iframe>
</html>
From WebpageC
Response.Redirect("WebpageB"?some query string passing);

how can i send parameters to WebpageA via WebpageB?
Posted

 
Share this answer
 
You can write the <iframe> as -
HTML
<iframe src="WebFormA.aspx?paramInA=<%=Request.QueryString["paramInB"].ToString() %>" width="200" height="200"></iframe>


where you are passing parameter paramInB to the WebformB.aspx like -
JavaScript
http://localhost/WebFormB.aspx?paramInB=A34AMX345
 
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