|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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
|
|
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/
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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
|
|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Cool. Thanks for clarifying!
|
|