aspx questions

Out of context: Reply #7

  • Started
  • Last post
  • 8 Responses
  • QuincyArcher0

    ok, there's a control called a "place holder". Put one on the page...wherever you want that html file to appear. Give it the name "phContent"

    go to the code view, and in the page load event (this should be there by default), and put this in there.

    Dim ctrl as control
    ctrl = me.loadcontrol(filePath)
    phContent.Controls.Add(ctrl)

    except, instead of writing "filePath" in there, put the actual file path. when you get to the file name, put Request.Querystring(value).

    so it should look something like this:

    "content/" & Request.querystring(value) & ".htm"

    let me know if you have any more questions.

View thread