Welcome Guest Search | Active Topics | Sign In | Register

TreeView Web Parts Options
Paul Clark
Posted: Tuesday, March 11, 2008 6:12:41 AM
Rank: Newbie
Groups: Member

Joined: 3/7/2008
Posts: 4
I have been evaluating your treeview all was going fine managed to replace the existing asp treeview with the essential object treeview with few changes.

However I have found a bug during testing.

What happens is I add a web part to my web page I then close the web part in effect remove it from the web page. After this I reset the user state of the web parts page. The resetting causes the error Microsoft JScript runtime error: '_eo_aspnet11' is undefined I suspect that this is due to some javascript being left behind on the page after removing the web part.

I understand that you make no claims that this tree view will work with asp.net web parts but if you have any ideas what I might try to fix this problem it would be appreciated.

I probably also should have said it fails on this line <%@ WebHandler Class="EO.Web.Runtime" %>

Regards Paul

eo_support
Posted: Tuesday, March 11, 2008 7:28:30 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi Paul,

Try to put an EO control inside your host page (whatever page that is always there). So that even with the TreeView removed, there is still some EO stuff in your page. You can use an empty eo CallbackPanel, that way visually nothing is visible.

Thanks
Paul Clark
Posted: Tuesday, March 11, 2008 7:52:04 AM
Rank: Newbie
Groups: Member

Joined: 3/7/2008
Posts: 4
Thanks

I had already tried adding the below script to the page but it did not fix the problem

<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>

Adding a control as well does fix it.

:d/
eo_support
Posted: Tuesday, March 11, 2008 8:01:05 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Paul Clark wrote:
Adding a control as well does fix it.


Do you mean it fixes it or not fixing it? Do you have the page online so that we can take a look?

Thanks
Paul Clark
Posted: Tuesday, March 11, 2008 8:24:32 AM
Rank: Newbie
Groups: Member

Joined: 3/7/2008
Posts: 4
Sorry for the confusing reply. Adding a control does fix the problem so I am ok now.

Thanks Paul
eo_support
Posted: Tuesday, March 11, 2008 8:33:12 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Cool. Thanks for clarifying!


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.