Ver Mensaje Individual
  #5 (permalink)  
Antiguo 03/08/2010, 11:14
Avatar de jaullo
jaullo
 
Fecha de Ingreso: abril-2009
Mensajes: 994
Antigüedad: 15 años
Puntos: 30
Respuesta: Hay manera de agregar atributo onClick que ejecute server script???

Has provado trantando de agregar el evento el RowCreated del grid.
Tambien puedes recuperar el valor de la fila sin javascript,

Código ASP:
Ver original
  1. Dim gvfls As GridView = DirectCast(Flm.FindControl("gvwFiles"), GridView)
  2.  
  3.         Dim items As New List(Of String)()
  4.         For Each row As GridViewRow In gvfls.Rows
  5.             If row.RowType = DataControlRowType.DataRow Then
  6.                 Dim cb As CheckBox = DirectCast(row.FindControl("gvchkFile"), CheckBox)
  7.                 If cb.Checked Then
  8.                   'codigo
  9.                 End If
  10.             End If
  11.         Next
__________________
http://geekswithblogs.net/jaullo/Default.aspx
Si te he ayudado regalame Karma positivo!!!