A
Adam J Knight
Hi all,
I am trying to create an email link using the HyperLinkColumn in a DataGrid.
Is their anyway i can do this using a DataBinding expression in the .aspx?
Or will i have to do it in the CodeBehind?
So far i have:
<asp:HyperLinkColumn HeaderText="Email:" DataTextField="Email"
DataNavigateUrlField="Email"/>
This generates (e-mail address removed). I need to prepend the "mailto:" attribute.
Any thoughts?
Cheers,
Adam
I am trying to create an email link using the HyperLinkColumn in a DataGrid.
Is their anyway i can do this using a DataBinding expression in the .aspx?
Or will i have to do it in the CodeBehind?
So far i have:
<asp:HyperLinkColumn HeaderText="Email:" DataTextField="Email"
DataNavigateUrlField="Email"/>
This generates (e-mail address removed). I need to prepend the "mailto:" attribute.
Any thoughts?
Cheers,
Adam