Re: Error with link in DataTable together with AjaxEventBehavior(onclick)

2012-05-07 Thread Martin Grigorov
Hi, This is how the event propagation/bubbling works in the browsers. You need to suppress the bubbling of the JavaScript event. See http://www.quirksmode.org/js/events_order.html for more info. You can use IAjaxCallDecorator to stop the event after clicking on the ajax link. On Sat, May 5, 2012

Error with link in DataTable together with AjaxEventBehavior(onclick)

2012-05-05 Thread bjolletz
Hi, I have a DataTable. In this DataTable I want to be able to click on the rows in the table to make some stuff happen (by Ajax), for example highlighting the current row. To implement this I am overriding the newRow method in DataTable and adding an AjaxEventBehavior(onclick) to each row item.