Home - Forums-.NET - FlyTreeView (ASP.NET) - treeview doesn't expand in Firefox?

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

treeview doesn't expand in Firefox?
Link Posted: 03-Mar-2009 11:36
ok..this has to be the weirdest one I've seen yet.

I created the treeview in the page's page_load event with static nodes.  Some nodes are expanded and some are collapsed.  In MSIE, everything works fine.  In Firefox (latest version 3.0.6), clicking the expand icon, +, doesn't do anything except for logging this into the error console:
Error: _0._o.filters[0] is undefined
Source File: http://localhost/SkyServe/WebResource.axd?d=E1aHvjb84X_zTvylmqd9XDeq2i7o7ap-GM28i2k86xJH_mTJwvwZAPD7Ibweb9-g0&t=633716741239687500
Line: 1227

However, clicking on the collapse icon, -, works fine.
Anyone ever see anything like this?

The treeview is fairly standard:
                    OnSelectedNodeChangedJavascript="treeview_onSelectedNodeChanged"
            OnNodeEventJavascript="treeview_onNodeEventHandler"
            FadeEffect="True" CanBeSelected="true"
            Width="100%">
                    RowHeight="16px" Padding="1px;3px;3px;1px" />
                    BorderWidth="1px" ForeColor="White" Padding="0px;2px;2px;0px" />
      

I tried taking out the javascript event handlers w/o any luck...it behaves the same.
Link Posted: 03-Mar-2009 11:45
FadeEffect causes this issue.
Thought strange for Firefox. Don't you have extra javascript in your page?

The standard demo  at http://www.9rays.net/asp.net_2/treeview/Demo_Office2003.aspx doesn't seem to produce any errors in FF 3.0.6 for me, it also uses FadeEffect
Link Posted: 03-Mar-2009 12:08
Thanks, Evgeny.  That's a workaround (disabling fadeeffect) that works  

It works on other pages but the only thing unusual on this page is that it uses MS' virtual earth control.  Maybe there is a conflicting javascript function?
Link Posted: 03-Mar-2009 19:22
Yes, looks like that this javascripts sets element.filters collection to not null (or something like this).
So when flytreeview JS checks if element.filters is defined then it treats it that browser support filters (and actually FireFox does not).