I have a grid that uses the row click command to open a NestedView like so:
But I also Have a column that I want to display an email address in and have that clickable as well. When I click it now it still only opens the row instead of redirecting the page like so:
How can I achieve this?
| If e.CommandName = "RowClick" Then |
| Dim item As GridDataItem = e.Item |
| If item.Expanded = True Then |
| item.Expanded = False |
| Else |
| item.Expanded = True |
| End If |
| End If |
But I also Have a column that I want to display an email address in and have that clickable as well. When I click it now it still only opens the row instead of redirecting the page like so:
| <telerik:GridTemplateColumn DataField="email" HeaderText="Email Address" |
| SortExpression="email" UniqueName="email"> |
| <ItemTemplate> |
| <a href='message_center.aspx?record=<%# Eval("record") %>'><asp:Label ID="emailLabel" runat="server" Text='<%# Eval("email") %>'></asp:Label></a> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
How can I achieve this?