Home All Groups Group Topic Archive Search About
Author
24 Jul 2006 4:30 PM
ashim
i want a hyperLinkFiled or hyperlinkColumn in my dataview/gridview
where the hyperlink is a javascript function  xyz(p1,p2):

p1 = Request["x"]; p2= one of the dataset columns;

please help

Author
24 Jul 2006 6:24 PM
Ben Schumacher
add a template column that is a linkbutton.  Then, when each data row binds
to the gridview control (GridControl_RowDataBound) do somthing like ...

ctype(e.row.cells(0).controls(0), LinkButton).attributes.add("OnClick",
"javascriptfunction()")




Show quoteHide quote
"ashim" <as***@discussions.microsoft.com> wrote in message
news:E1352115-6599-4712-B450-D016CDECF269@microsoft.com...
>i want a hyperLinkFiled or hyperlinkColumn in my dataview/gridview
> where the hyperlink is a javascript function  xyz(p1,p2):
>
> p1 = Request["x"]; p2= one of the dataset columns;
>
> please help
>
>