I could use some help here. I have a classic ASP page that uses a iFrame. The iFrame loads an ASP.NET page on another server.
When my classic ASP page loads there's a QueryString value I need for my IFrame page to load correctly.
How do I pass a QueryString value to my iFrame so my ASPX page can read the value?
So here an example of my Classic ASP page URL:
Here's my iframe in my Classic ASP page:
<iframe id="myIframe" src="http://myaspxapplication.com/IntakeUpload.aspx" width="100%" frameborder="0">
Here's my code behind on my IntakeUpload.aspx page (The page that's getting loaded into my iFrame)
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
Dim intIntakeID As Nullable(Of Integer) = CInt(Request.QueryString("intakeID"))
If intIntakeID.HasValue Then
lbIntakeID.Text = "No Intake ID found"
lbIntakeID.Text = intIntakeID.ToString