M
Mark Rae
Hi,
I have an <asplaceHolder control on a page in an ASP.NET 1.1 app, as
follows:
<td nowrap><asplaceHolder ID="phClientWebsite"
Runat=server> </asplaceHolder></td>
Server-side, I'm running the following code:
HyperLink lnkWebsite = new HyperLink();
lnkWebsite.NavigateUrl = dr["strWebsite"].ToString();
lnkWebsite.Target = "_blank";
Page.FindControl("phClientWebsite").Controls.Add(lnkWebsite);
However, the hyperlink is not displayed on the page, although it appears in
the HTML when I do a View Source. Incidentally, if I copy the HTML from View
Source into a stand-alone HTML page, the hyperlink is displayed.
Incidentally, I've also tried this with an <asp:Label control, to no
avail...
What am I doing wrong?
Any assistance gratefully received.
Mark Rae
I have an <asplaceHolder control on a page in an ASP.NET 1.1 app, as
follows:
<td nowrap><asplaceHolder ID="phClientWebsite"
Runat=server> </asplaceHolder></td>
Server-side, I'm running the following code:
HyperLink lnkWebsite = new HyperLink();
lnkWebsite.NavigateUrl = dr["strWebsite"].ToString();
lnkWebsite.Target = "_blank";
Page.FindControl("phClientWebsite").Controls.Add(lnkWebsite);
However, the hyperlink is not displayed on the page, although it appears in
the HTML when I do a View Source. Incidentally, if I copy the HTML from View
Source into a stand-alone HTML page, the hyperlink is displayed.
Incidentally, I've also tried this with an <asp:Label control, to no
avail...
What am I doing wrong?
Any assistance gratefully received.
Mark Rae