I have constructed a treeview with treenode.
I have set navigateURL of treenode as follows :
node.navigateURL = string.Format(@"javascript:alert('hello');");
When I click on treenode, the javascript in NavigateURL is executed twice. Il displays the alert 2 times.
Normally, it should display the alert only 1 time.
In my project, I have set navigateURL to load a page. Since it loads the same page 2 times, I have performance issue.
Can u tell me why the navigateURL is called twice ?
What to do so that my treenode calls navigateURL only once?
Thanks in advance
I have set navigateURL of treenode as follows :
node.navigateURL = string.Format(@"javascript:alert('hello');");
When I click on treenode, the javascript in NavigateURL is executed twice. Il displays the alert 2 times.
Normally, it should display the alert only 1 time.
In my project, I have set navigateURL to load a page. Since it loads the same page 2 times, I have performance issue.
Can u tell me why the navigateURL is called twice ?
What to do so that my treenode calls navigateURL only once?
Thanks in advance