Something like the following in JavaScript (or VB Script) in required. This is a client side behavior not server.
// for the first frame window.frames[0].location = 'pg1.aspx?ID=<%=Request.QueryString("ID")%>'; // for the second frame window.frames[1].location = 'pg2.aspx?ID=<%=Request.QueryString("ID")%>'; or to make your life easier, name your frames <frameset > <frame src="pg1.aspx" name="page1"> <frame src="pg2.aspx" name="page2"> </frameset > then you can window.frames["page1"].location = 'pg1.aspx?ID=<%=Request.QueryString("ID")%>'; window.frames["page2"].location = 'pg2.aspx?ID=<%=Request.QueryString("ID")%>'; HTH Jay -----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Guha, Rahul Sent: Thursday, April 11, 2002 2:16 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Frameset in ASP.Net Hello list, Assuming I have to use a frameset, how do I pass the querystring values to the specific src frames. Example: I have a frameset like below: <frameset > <frame src="pg1.aspx"> <frame src="pg2.aspx"> </frameset > Now this page has a querystring value ( say ID ) which I want to pass to the pages pg1 and pg2. Btw. When I am trying old asp way ( changing the src to pg1.aspx?ID=<%=Request.QueryString("ID")%> ) I am getting error ... Any suggestion would be highly appreciate ... Rahul You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.