Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 495
  • Last Modified:

Passing values from Datagrid button column to Javascript ?? How??

Hello,

I have a Datagrid on a webform and i have just implemented the asp:ButtonColumn. My datagrid populates some records from my SQL dbase which i would like to give the user the opportunity to alter them.

 

Is it possible using a button from the asp:ButtonColumn to execute a Javascript. I want to pass to the Javascript also the ID of the row i want to edit.

I want to execute the Javascript because i will open a certain popup window in which i will populate the data which the user would like to change.

 

Thank you.
0
Globemaster
Asked:
Globemaster
1 Solution
 
fen2009Commented:
hi,..

it is possible there is a lot of ways in doing it.

But are .. U using.. asp.net..
if so.. the link is as follows:

http://www.codeproject.com/aspnet/SquaredRomi.asp

thanks..
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now