I have insert this code on the click event of the link button
Response.Write("<a HREF mailto:" & Lbtnemail.Text & "></a>")
but when I click on the email address nothing happens
For unknown reason the link-button disapear, is no longer visible
Response.Write("<a HREF mailto:" & datarow.Item(2) & ">Lbtnemail.Text = datarow.Item(2)</a>")
email link button
Thank you for the reply, can you show me where to insert the code:
In the html code this what I have
<asp:linkbutton id="Lbtnemail" runat="server"></asp:linkbutton>
and in the vb code I have this:
Lbtnemail.Text = datarow.Item(2)
emails are retrived based on the SellerID...
email link button
Thank you for the tip, the problem is that the email addresses are not static. say I have 100 sellers each with different email addresses, it will be difficult to implement with html code.
I am developing a webpage. I have a table called Seller and one of the columns contains email addresses of the sellers. In my webpage the email address is successfully retrive based on the SellerID. And I have a link-button that display the email address.
Now what I want is that when I click the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.