473,401 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

asp.net - gridview - mailto using two values ?

Hi - I'm using .net2/ASP.Net/C# and am trying to get a grid view
column to display a 'mailto' which uses one value for the href and one
value for the visible part of the anchor, like this ...

<a href='mailto:so*****@somewhere.com'>Jane Somewhere</a>

.... I've seen a few examples but they always assume that you want ...

<a href='mailto:so*****@somewhere.com'>so*******@some where.com</a>
I've also tried pre-formatting the entire URL in a column of the view
that feeds the datagrid and using that in a asp:BoundField field but
that doesn't work.

Can anyone who's done this tell me how to please ?

Nov 1 '07 #1
0 1504

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: sck10 | last post by:
How do you create a MailTo Link using the GridView Control with a boundfield element: <asp:BoundField HeaderText="Doc Group" DataField="strSubmitter" /> For example, I can use the following in...
2
by: Marcial | last post by:
Hello, I have a ASP.NET 2.0 coding issue I need help with. I have a Gridview which displays the Name and e-mail address columns of an underlying SQL datasource. I added a hyperlink field to...
4
by: Stuart Ferguson | last post by:
I am currently writing an application in ASP.Net which has a bound Gridview however i require to add a column with a mailto link in it. After many questions in the c# IRC room it was decided that a...
4
by: Nalaka | last post by:
Hi, I have two questions about gridViews. 1. How can I intercept the row/column values at loading to change values? 2. After I update a row (using default update functionality), how can I...
7
by: | last post by:
Hello, Does anyone have an idea on how I can filter the data in the gridview control that was returned by an sql query? I have a gridview that works fine when I populate it with data. Now I...
2
by: rufpirat | last post by:
Hello I'm in the middle of trying to build an "AD phone book", and this being my first try at asp.net, I have a few questions that I hope some of you might be able to help with: 1. Is it...
1
by: Giovanni | last post by:
Dear Friends/Gurus, I have exhausted myself and have yet no solution to the following: I have an ASP.NET 2.0 Survey type application. On a page, I have placed a GridView which is bound to an...
3
by: Richard Carpenter | last post by:
I have a simple winform with a customers combobox, a "get orders" button and an orders grid. Due to other requirements, I have implemented the form to allow the user to select a customer from the...
0
by: northof40 | last post by:
Hi - I'm using .net2/ASP.Net/C# and am trying to get a grid view column to display a 'mailto' which uses one value for the href and one value for the visible part of the anchor, like this ... <a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.