This question is locked. New answers and comments are not allowed.
Hi,
Im building a section selector in a window. The window is filled with an .aspx and a treeview.
When selecting a section from the treeview I want to callback the selected value and close the window. How can I achieve this?
This is now my code, but the close part doesn't work:
Thanks in advance,
Koen
Im building a section selector in a window. The window is filled with an .aspx and a treeview.
When selecting a section from the treeview I want to callback the selected value and close the window. How can I achieve this?
This is now my code, but the close part doesn't work:
function onSelect(e) { var tv = $("#AjaxTreeView").data("tTreeView"); var item = $(e.item); var val1 = tv.getItemValue(item); parent.fCallback(val1); var window = $(this).data('tWindow'); window.close(); }Thanks in advance,
Koen