Home - Forums-.NET - FlyTreeView (ASP.NET) - Script Errors

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

Script Errors
Link Posted: 16-Nov-2009 07:38
I'm seeing a couple of errors in Error Console for FireFox (v3.0.14):

Warning: Expected end of value for property but found ';'.  Error in parsing value for property '-moz-user-select'.  Declaration dropped.
Source File: (my page url)
Line: 0

Error: Return value is undefined
Source File: (blank)
Line: 663

I get the warning once per tree included on the page, but the "Return value is undefined" error only once per page.

My tree view has an ugly focus border when I click on it, I'm assuming that's what is intended to be prevented by the -moz-user-select.
Link Posted: 16-Nov-2009 09:25
[quote="DaveSW"]I'm seeing a couple of errors in Error Console for FireFox (v3.0.14):

Warning: Expected end of value for property but found ';'.  Error in parsing value for property '-moz-user-select'.  Declaration dropped.
Source File: (my page url)
Line: 0

Yes, we have this error. We are currently looking for the reason, but according to
https://developer.mozilla.org/En/CSS/-moz-user-select
We set a valid value "none" for this property.

[quote="DaveSW"]Error: Return value is undefined
Source File: (blank)
Line: 663

Do you get this error at
http://www.9rays.net/asp.net_2/treeview/Demo_Office2003.aspx
?

[quote="DaveSW"]
My tree view has an ugly focus border when I click on it, I'm assuming that's what is intended to be prevented by the -moz-user-select.

No.This is default FF behavior.  To remove border, set style="outline-style:none" for FlyTreeView control.
Link Posted: 17-Nov-2009 07:26
Do you get this error at
http://www.9rays.net/asp.net_2/treeview ... e2003.aspx
?


Yes, I get both errors on that demo page (well the warning and the error).


No.This is default FF behavior. To remove border, set style="outline-style:none" for FlyTreeView control.


Sweet, that fixed my border issue, thanks!
Link Posted: 17-Nov-2009 07:41
[quote="DaveSW"]Yes, I get both errors on that demo page (well the warning and the error).

Ok, we'll check FF 3.0.
Firefox 3.5 does not throw the javascript error. Only warning (we're experimenting with it now).