Sunday, February 19, 2012

hyperlink

Hi
I am trying to add a hyperlink to the table column so that it opens as an email ..that is
if user clicks onxyz@.X.com field the email should open with this addr in the to box.Any suggestions..
ThanksYou could use a template column:
<asp:TemplateColumn HeaderText="email" ItemStyle-Width="40" HeaderStyle-HorizontalAlign="center" ItemStyle-HorizontalAlign="center">
<ItemTemplate>
<a href="http://links.10026.com/?link=mailto:<%#DataBinder.Eval(Container.DataItem, "email").ToString()%>"><%#DataBinder.Eval(Container.DataItem, "email").ToString()%></a>
</ItemTemplate>
</asp:TemplateColumn>|||If you are trying to add hyperLink in SRServices then its very simple u can do that
In the layout mode click on the cell where to use MailTo and press F4 to open properties, go down and click on Action property and click...
and select Jump to URL radio button and in the text box write="mailto:" & Fields!Customer_Email.Value.
i think that is what u want
Thanks
RohitSmile [:)]

No comments:

Post a Comment