For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > October 2005 > Link in gata grid









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Link in gata grid
Nishanthan

2005-10-29, 3:59 am

Hi

I want to have all the row area of a datagrid to be apperared as link(Not
only the text but also the other area as well). Do anyone know a way to do
so?

Thanks & Regards,
P.Nishanthan


Phillip Williams

2005-10-29, 7:57 am

You can have the entire row acting as hyperlink (i.e. when clicked it either
goes to another url or posts back) by adding JavaScript OnItemCommand as in
this sample http://www.societopia.net/samples/dataGrid_5c.aspx

--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com


"Nishanthan" wrote:

> Hi
>
> I want to have all the row area of a datagrid to be apperared as link(Not
> only the text but also the other area as well). Do anyone know a way to do
> so?
>
> Thanks & Regards,
> P.Nishanthan
>
>
>

intrader

2005-10-31, 7:02 pm

On Sat, 29 Oct 2005 13:47:12 +0600, Nishanthan wrote:

> Hi
>
> I want to have all the row area of a datagrid to be apperared as link(Not
> only the text but also the other area as well). Do anyone know a way to do
> so?
>
> Thanks & Regards,
> P.Nishanthan

Perhaps you should explain better. Do you want any trailing spaced to be
also part of the link?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com