Results 1 to 4 of 4

Thread: [RESOLVED] Response.Redirect() into IFRAME

Threaded View

  1. #1

    Thread Starter
    Fanatic Member drpcken's Avatar
    Join Date
    Apr 2004
    Location
    devenv
    Posts
    591

    Resolved [RESOLVED] Response.Redirect() into IFRAME

    I have a url string being built based on some dropdownlist values the user picks. When they pick the final dropdownlist value, I have it set to redirect to that url, however I want it to load the page in an IFRAME i have on the page. I know I need to tell it the TARGET, but I'm not sure how to do this without an href link. Here's my code thus far:

    VB Code:
    1. Private Sub ddlForm_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlForm.SelectedIndexChanged
    2.  
    3.         Dim sSection As String = ddlSection.SelectedItem.Text
    4.         Dim sForm As String = ddlForm.SelectedItem.Text
    5.  
    6.         Dim sRedirectPage As String = "Section" & sSection & "/" & sForm & ".aspx"
    7.  
    8.         Response.Redirect(sRedirectPage)
    9.  
    10.     End Sub

    I'm kinda stuck after this. Thanks!!
    Last edited by drpcken; Oct 22nd, 2005 at 09:08 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width