G
Guest
In asp.net 2.0 I have created a datagrid. The databind is to a table with a
column called email in it. In designer, I am adding columns . I have added a
column "email" with the following parms:
HeaderText:Email
DataNavigateUrlField:email
DataNavigateUrlFormatString:mailto:{0}
DataTextField:email
ItemStyle | CssClass:gridlink
Nothing else has been set.
I expected the result to be a link that would open the default mail client.
Instead the text appears in the grid but the HTML tag generated is just
<a>[email protected]</a>
ie no mailto has appeared. Is this the expected behaviour, am I doing
something wrong?
column called email in it. In designer, I am adding columns . I have added a
column "email" with the following parms:
HeaderText:Email
DataNavigateUrlField:email
DataNavigateUrlFormatString:mailto:{0}
DataTextField:email
ItemStyle | CssClass:gridlink
Nothing else has been set.
I expected the result to be a link that would open the default mail client.
Instead the text appears in the grid but the HTML tag generated is just
<a>[email protected]</a>
ie no mailto has appeared. Is this the expected behaviour, am I doing
something wrong?