R
rockdale
nside itemtemplate of my DataList I have
<td>
<asp:HyperLink runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "funcDesc") %>'
NavigateUrl='../Default.aspx?fID=<%#
DataBinder.Eval(Container.DataItem,"funcId") %>'
ID="Hyperlink1"></asp:HyperLink>
</td>
<td>
<a href='Default.aspx?fID=<%# DataBinder.Eval(Container.DataItem,
"funcId") %>' class =normalLink><%# DataBinder.Eval(Container.DataItem,
"funcDesc") %>
</a>
</td>
The first one (<asp:hyperlink ) does interpret url correctly, it
interpret as
Default.aspx?fID=<%#fID=<%#
DataBinder.Eval(Container.DataItem,"funcId")%>
The second (<a href ) is correct
Default.aspx?fID=1
What did I do wrong with the first asp:hyperlink?
How can I get it work?
Thanks a lot
-rockdale
<td>
<asp:HyperLink runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "funcDesc") %>'
NavigateUrl='../Default.aspx?fID=<%#
DataBinder.Eval(Container.DataItem,"funcId") %>'
ID="Hyperlink1"></asp:HyperLink>
</td>
<td>
<a href='Default.aspx?fID=<%# DataBinder.Eval(Container.DataItem,
"funcId") %>' class =normalLink><%# DataBinder.Eval(Container.DataItem,
"funcDesc") %>
</a>
</td>
The first one (<asp:hyperlink ) does interpret url correctly, it
interpret as
Default.aspx?fID=<%#fID=<%#
DataBinder.Eval(Container.DataItem,"funcId")%>
The second (<a href ) is correct
Default.aspx?fID=1
What did I do wrong with the first asp:hyperlink?
How can I get it work?
Thanks a lot
-rockdale