Posted 10 Apr
Link to this post
I am using my own pop-up dialog window for adding/editing tasks in the Gantt display. Saving from this dialog causes a postback to the server and a redraw of the gantt chart. I need to programmatically re-select the last task added/edited (either server side or client side but preferably server side).
Is there anyway to achieve this?
Managed to get this working client side by accessing the Kendo widget part of the Gantt control. Here's the code:
var gantt = $find("<%= radGantt.ClientID%>");
gantt._widget.select("tr:eq(" + tsk.get_id() + ")");