M
maury
Hello, I have a web form page with something like this
<a id="link" runat="server" href='<%# String.Concat("pag.aspx?
tipo1=1&tipo2=2") %>'>xxx</a>
on the Page_Load, I have this code to execute the databind
link.DataBind();
but the generated code is far from I would like to be, I would like to
have this code
<a href="pag.aspx?tipo1=1&tipo2=2" id="link">xxx</a>
instead I can see in the html source of the page
<a href="pag.aspx?tipo1=1&tipo2=2" id="link">xxx</a>
(this is a problem for me...)
any ideas?
<a id="link" runat="server" href='<%# String.Concat("pag.aspx?
tipo1=1&tipo2=2") %>'>xxx</a>
on the Page_Load, I have this code to execute the databind
link.DataBind();
but the generated code is far from I would like to be, I would like to
have this code
<a href="pag.aspx?tipo1=1&tipo2=2" id="link">xxx</a>
instead I can see in the html source of the page
<a href="pag.aspx?tipo1=1&tipo2=2" id="link">xxx</a>
(this is a problem for me...)
any ideas?