Re: Help with HtmlTextWriter

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I can't seem to see your page.

Try UrlEncode the link.

Response.Redirect("http://mycomputer/xmlnodes/manageforums.aspx?CID="; +
Server.UrlEncode("<%=Request.QueryString("CID")%>"));


"larryvan" <larmister@xxxxxxxxxxx> wrote in message
news:1136448100.365124.258270@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I have been beating my head against a wall for two days now. I need to
> output a hyperlink using htmltextwriter.write that looks like this:
>
> <a href='manageforums.aspx?CID=<%=Request.QueryString("CID")%>'>
>
> When I run the app and click on the link it looks like this:
>
> http://mycomputer/xmlnodes/manageforums.aspx?CID=<%=Request.QueryString("CID")%>
>
> If I view the source in notepad the syntax for the link is correct.
> Furthermore, I can save that page with a .aspx extension and load it
> into the browser and the link works correctly.
>
> Any ideas? This seems like something developers would want to do quite
> often.
>


.



Relevant Pages

  • Re: LRC Calculation Algorithm
    ... > Your head must be quite swollen from beating it against the wall. ... > don't you heed the advice given and ask the question in an ...
    (microsoft.public.vb.enterprise)
  • Re: IBM Thinkpad install
    ... quite beating my head against that wall. ... , PEER, the IDE drivers, yap, yap, it is simply not worth it to go any ...
    (comp.os.os2.setup.misc)
  • Ok. This IS homework ...
    ... start beating my head against the wall. ... My assignment seemed simple: create a program that will cacluate the ...
    (comp.lang.python)
  • Re: Clear a combo box on error?
    ... I've been beating my head against the wall and I ... Prev by Date: ...
    (comp.databases.ms-access)
  • Re: Fission rockets for missiles
    ... "Or went on," Earl said suddenly from the corner where he was studying the conference room wall display. ... It was the same team Mei-ling had taken groundside on Kaybeck. ... She lifted her head and looked straight into the pickup. ...
    (rec.arts.sf.science)