hi
How do I convert an anchor tag to use Hyperlink server control in RadGrid?
I have this code that i wish to convert.
How do I convert an anchor tag to use Hyperlink server control in RadGrid?
I have this code that i wish to convert.
</
EditItemTemplate>
<ItemTemplate>
<a href="#" onclick="openRadWindow2('<%#DataBinder.Eval(Container.DataItem,"vourcherid")%>'); return false;">Update</a>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
Thanks a million
4 Answers, 1 is accepted
0
Hello Lui Nai Wah,
You can nest the control in the item template, as shown in the code snippet below:
.aspx
I hope this helps.
All the best,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can nest the control in the item template, as shown in the code snippet below:
.aspx
<telerik:GridTemplateColumn> |
<ItemTemplate> |
<asp:HyperLink runat="server" ID="Link1" NavigateUrl='<%# Eval("Title") %>'> |
</asp:HyperLink> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
I hope this helps.
All the best,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
L
Top achievements
Rank 1
answered on 16 Jul 2008, 02:49 PM
hi
Maybe you want to read the code that i have posted.
I have a onclick event that calls a RadWindow. How do I call an onclick event that open up another window using radwindow? Thanks
Maybe you want to read the code that i have posted.
I have a onclick event that calls a RadWindow. How do I call an onclick event that open up another window using radwindow? Thanks
0
Accepted
Hello Lui Nai Wah,
You have not provided any client side script. Do you want to open the window onclick of the hyperlink, as shown here, or perhaps open another window from within the already opened radWindow.
All the best,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You have not provided any client side script. Do you want to open the window onclick of the hyperlink, as shown here, or perhaps open another window from within the already opened radWindow.
All the best,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
L
Top achievements
Rank 1
answered on 17 Jul 2008, 07:58 AM
hi
Thanks. I have solved it. Thanks
Thanks. I have solved it. Thanks