Hello,
I am trying to refresh a treeview when I close a rad window... to do that, I've tried using this code in the onclose event:
function RefreshTree() {
__doPostBack('treeStructure', 'RefreshTreeStructure');
}
In the .vb file I've got this...
Protected Sub treeStructure_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles treeStructure.Load
'If Me.IsPostBack Then
' Dim eventArg As String = Request("__EVENTARGUMENT")
' If eventArg = "RefreshTreeStructure" Then
' FillStructureTree(Me.cboSection.SelectedValue)
' End If
'End If
End Sub
the items are commented out as a part of me playing around with things - commented or not, I am getting this error:
Invalid JSON Primitive: RefreshTreeStructure
I am using context menus in the treeview and have a RadAjaxManager on the page that is controlling the treeview as well.
Any thoughts?
Thanks,
Mike
I am trying to refresh a treeview when I close a rad window... to do that, I've tried using this code in the onclose event:
function RefreshTree() {
__doPostBack('treeStructure', 'RefreshTreeStructure');
}
In the .vb file I've got this...
Protected Sub treeStructure_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles treeStructure.Load
'If Me.IsPostBack Then
' Dim eventArg As String = Request("__EVENTARGUMENT")
' If eventArg = "RefreshTreeStructure" Then
' FillStructureTree(Me.cboSection.SelectedValue)
' End If
'End If
End Sub
the items are commented out as a part of me playing around with things - commented or not, I am getting this error:
Invalid JSON Primitive: RefreshTreeStructure
I am using context menus in the treeview and have a RadAjaxManager on the page that is controlling the treeview as well.
Any thoughts?
Thanks,
Mike