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 templat
column was the best way which i have put in and the basic mailto a bound
address is file however i want to add to the mailto link a subject and
some other info, how do i go about this? I know how its done in standard
HTML but in this case i am using the binding of the Hyperlink and im not
sure how to do it using the DataBinder expressions. Any help is
appreciated.
Many Thanks In Advance
Stuart
*** Sent via Developersdex http://www.developersdex.com ***Hi,
Check out this sample.. I created and used a hyperlink template here.. Hope
this helps you. In case you need more help please get back to me..
http://www.expertszone.com/samples/templatecolumn.zip
--
The best
srini
http://www.expertszone.com
"Stuart Ferguson" wrote:
> 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 templat
> column was the best way which i have put in and the basic mailto a bound
> address is file however i want to add to the mailto link a subject and
> some other info, how do i go about this? I know how its done in standard
> HTML but in this case i am using the binding of the Hyperlink and im not
> sure how to do it using the DataBinder expressions. Any help is
> appreciated.
> Many Thanks In Advance
> Stuart
> *** Sent via Developersdex http://www.developersdex.com ***
Thanks for answering so quickly srini.
WIll this example be valid for ASP.NET 2.0 (shud have mentioned this in
original question)
Best Wishes
Stuart
*** Sent via Developersdex http://www.developersdex.com ***
Hi,
I didnt check on ASP.Net 2.0 but it should work without any problem.. just
use the code in the webform1.aspx.cs if u have problems opening or running
the project.
--
HTH
srini
http://www.expertszone.com
"Stuart Ferguson" wrote:
> Thanks for answering so quickly srini.
> WIll this example be valid for ASP.NET 2.0 (shud have mentioned this in
> original question)
> Best Wishes
> Stuart
>
> *** Sent via Developersdex http://www.developersdex.com ***
Dont seem to work in ASP.Net 2.0 :( anyone have a way in 2.0 ?
*** Sent via Developersdex http://www.developersdex.com ***
0 comments:
Post a Comment