Welcome Guest Search | Active Topics | Sign In | Register

TreeView RaiseEvent crash with new folder Options
Paradox Engineering
Posted: Tuesday, March 16, 2010 8:38:35 PM
Rank: Member
Groups: Member

Joined: 7/2/2009
Posts: 25
Hi,
I have a treeview, i set RaisesServerEvent="true" and I use ItemClick command that raise a page post back where I do some things when user select a node of the treeview.
When I try to create a folder, it works fine, I can see the new folder created by the javascript functions in the treeview. The problem is that when I click on the new folder item It raise (as it have to do) my page post back set in ItemClick, but when it reload treeview the new folder there's no more, it fade away.
Can you check this?

Thanks
eo_support
Posted: Tuesday, March 16, 2010 11:13:51 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Please provide a test page demonstrating the problem.

Thanks!
Paradox Engineering
Posted: Thursday, March 18, 2010 7:54:35 PM
Rank: Member
Groups: Member

Joined: 7/2/2009
Posts: 25
go to
https://geomapper.pdxeng.ch/test/test.aspx

open root folder
open and select folder1
create subfolder (it works)
try to select the new folder (it reload treeview but don't select folder)

eo_support
Posted: Thursday, March 18, 2010 7:58:35 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We will need you provide a test page in source form so that we can see the problem in our environment in order to not only debug into it, but also to verify whatever solution we come up for you will indeed work for you.

Thanks!
Paradox Engineering
Posted: Thursday, March 18, 2010 8:30:34 PM
Rank: Member
Groups: Member

Joined: 7/2/2009
Posts: 25
at the same page you can download source code (aspx and cs).
Do you need anything else?
eo_support
Posted: Friday, March 19, 2010 5:17:47 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We looked into the code. I don't think you can use RaisesServerEvent with the TreeView inside the FileExplorer. The control triggers a number of populate and a number of other AJAX calls when you click a node. Raising server event will almost certainly interfere with that. Because you are not using any other part of the FileExplorer, you may want to implement the toolbar buttons in your code directly.

Thanks!



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.