Навигация

Итоги года

Другие ссылки


Реклама

Счётчики


RAD Grid: OnRowSelected doesn't fire up

30.09.2008 Вторник 18:29

Context: .Net, Telerik RADControls (RAD, R.A.D.) for ASP.Net AJAX, RAD Grid Control

The following didn't work for my RAD grid control:

<ClientSettings>

<ClientEvents OnRowSelected="grid_onRowSelected" />
</ClientSettings>
Javascript function grid_onRowSelected was never being called. The reason was very simple: in the grid definition in the .aspx page, the OnRowSelected event was assigned twice, with different target functions. Despite obvious stupidity of this error this may happen because sometimes definitions of complex RAD grid controls may become very long and cumbersome. Something important may get lost if you are not meticulous enough. Which is exactly what happened to me.