hi
I have this code which was previouly in a Radgrid and the code works fine in the grid.
telerik:GridTemplateColumn HeaderText="Register" UniqueName="TemplateColumn">
<ItemTemplate>
<a href="#" onclick="openRadWindow2('<%#DataBinder.Eval(Container.DataItem,"CATID")%>'); return false;">Register</a>
</ItemTemplate>
</telerik:GridTemplateColumn>
But when i changed this code to
which is now outside of a gird and became a hyperlink on its own in the page it gave me an error:
Compiler Error Message: BC30456: 'DataItem' is not a member of 'System.Web.UI.Control'
How do i pass parameter value using hyperlink since this hyperlink is no loner in a radgrid? Thanks
I have this code which was previouly in a Radgrid and the code works fine in the grid.
telerik:GridTemplateColumn HeaderText="Register" UniqueName="TemplateColumn">
<ItemTemplate>
<a href="#" onclick="openRadWindow2('<%#DataBinder.Eval(Container.DataItem,"CATID")%>'); return false;">Register</a>
</ItemTemplate>
</telerik:GridTemplateColumn>
But when i changed this code to
<
td class="style102">
<a href="#" onclick="openRadWindow2('<%#DataBinder.Eval(Container.DataItem,"CATID")%>'); return false;">Register</a></td>
which is now outside of a gird and became a hyperlink on its own in the page it gave me an error:
Compiler Error Message: BC30456: 'DataItem' is not a member of 'System.Web.UI.Control'
How do i pass parameter value using hyperlink since this hyperlink is no loner in a radgrid? Thanks