Re: Help with HtmlTextWriter
- From: "Grant Merwitz" <grant@xxxxxxxxxxxxx>
- Date: Thu, 5 Jan 2006 09:53:36 -0000
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.
>
.
- Follow-Ups:
- Re: Help with HtmlTextWriter
- From: Larry Van
- Re: Help with HtmlTextWriter
- References:
- Help with HtmlTextWriter
- From: larryvan
- Help with HtmlTextWriter
- Prev by Date: Re: Display Images vertically via web service
- Next by Date: How to I add some codes on Unload events on VSNET IDE?
- Previous by thread: Help with HtmlTextWriter
- Next by thread: Re: Help with HtmlTextWriter
- Index(es):
Relevant Pages
|