Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

DataGrid Button Short dude....

 
 
Josema
Guest
Posts: n/a
 
      06-16-2004
Hi,

Im making a web custom datagrid of products.

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

ButtonColumn colbtn=new ButtonColumn();

colbtn.ButtonType=ButtonColumnType.LinkButton;

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?

Thanks
Josema.
 
Reply With Quote
 
 
 
Reply

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? slougheed@gmail.com 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



Advertisments