Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > DataGrid Button Short dude....

Thread Tools

DataGrid Button Short dude....

Posts: n/a

Im making a web custom datagrid of products.

I have this piece of code in the override OnInit Method:

ButtonColumn colbtn=new ButtonColumn();


colbtn.Text="<a href=# onclick=alert("+")>See Product</a>";

How could i know what link is pressed by the user?,

i would like to have a link buton in each row of the datagrid, and when a user clicks on it open a popup and pass the ID of the product to the page that im opening?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference of extern short *x and extern short x[]? Andre C Programming 5 07-17-2012 07:38 PM
unsigned short, short literals Ioannis Vranos C Programming 5 03-05-2008 01:25 AM
longs, long longs, short short long ints . . . huh?! David Geering C Programming 15 01-11-2007 09:39 PM
unsigned short short? C++ 4 10-16-2006 11:25 PM
RE: Datagrid: how cut short display of a long description in a datagrid column =?Utf-8?B?U3VyZXNo?= ASP .Net 0 03-02-2004 08:31 PM