Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Variable From .aspx To .htm(FrameSet)

Status
Not open for further replies.

eulogy6

Programmer
Apr 30, 2004
26
Hi to all,

I have a .aspx page and with a linkButton I have:
Dim LblKey As String
LblKey = txt1.Text
Response.Redirect("frameset.htm?Key=" + Server.UrlEncode(LblKey))

In the frameset.htm I have:
<frame name="header" src="menu.aspx" scrolling="no" noresize>
<frame name="main" src="companies.aspx">

How can I pass the (LblKey) to the frameset in the menu.aspx?

Any Idea?

Thanks in Advance
 
You've made a simple scenario much more complicated because of your use of frames. If you don't use frames it wil save you a lot of problems and in the vast majority of cases frames are used when they are not needed.

If you do persist on using frames, you'll have to pass the details from frame to frame using javascript.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top