This is a migrated thread and some comments may be shown as answers.

RadGrid Client Side RowSelect not work if scrolling is set enable

2 Answers 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Miguel Reig
Top achievements
Rank 1
Miguel Reig asked on 04 Feb 2009, 12:08 PM
Helo,
In a ASP RaGrid I select a row in client side. 

$find("<%= CodOpera.ClientID %>").set_value(eventArgs.get_item().get_cell("CodOpera").innerHTML);

 


CodOpera is an RadTextBox and also is the name of the column in the grid (and in the table)

This works fine, but if I set the Scrolling enable the software break and show :
"Error en tiempo de ejecuciĆ³n de Microsoft JScript: 'get_item().get_cell(...).innerHTML' es nulo o no es un objeto"

I need your help, please.
Miquel


 

 

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 05 Feb 2009, 11:47 AM
Hi Miquel,

I tried the scenario with the latest version of RadControls (03.1314.20) and its working fine in my end. I tried the your code in OnRowSelected() event. I am not sure about what is happening at your end. Please make sure that you hooked up the OnRowCreating/OnRowCreated events of the RadGrid.

Thanks,
Princy.
0
Miguel Reig
Top achievements
Rank 1
answered on 05 Feb 2009, 12:13 PM
Hi Princy,
OnRowCreated was hooked but not OnRowCreating. Once hooked it all works fine.
Thanks a lot
Miquel
Tags
Grid
Asked by
Miguel Reig
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Miguel Reig
Top achievements
Rank 1
Share this question
or