This is a migrated thread and some comments may be shown as answers.

Safari Bugs with treeview with on-demand loading

2 Answers 38 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
gerry
Top achievements
Rank 1
gerry asked on 29 Feb 2008, 10:15 PM

I'm testing the treeview control (lastest release 2007_3_1425) with Safari 3.0.04 on Windows.

Here is my tag:

<telerik:RadTreeView ID="RadTreeView1" runat="server" Height="300px" Width="300px" CheckBoxes="true" OnNodeExpand="RadTreeView1_NodeExpand" OnClientNodeExpanding="OnClientNodeExpanding" OnClientNodeChecking="BeforeCheck" OnClientNodeChecked="AfterCheck" OnClientNodePopulated="NodesPopulated" />

The nodes are populated server side with an expand mode of ServerSide callback.

What I've found that is IF I have the client side event handlers specified (e.g. OnClientNodeExpanding, OnClientNodeChecking, etc.) the treeview will NOT load on demand--when I click on the expand (+) icon nothing happens.  So what I've had to do as a temporary workaround is on the server side if I detect Safari I blank out my client-side event handlers.  However, this means that my code to check/uncheck doesn't work or fire.

Please confirm.
Regards,
Gerry

2 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 03 Mar 2008, 02:57 PM
Hi gerry,

I just tried to reproduce the problem you reported, but I couldn't. Please, find attached the page I used for testing.

Am I missing something?

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
gerry
Top achievements
Rank 1
answered on 04 Mar 2008, 07:14 AM
Erjan,

Thanks for your sample.  Using it I was able to track down a line in my script that was causing the error only on Safari:

This line was in my script block
//<!--

It caused the treeview control to behave as I mentioned.

Thanks,
Gerry
Tags
TreeView
Asked by
gerry
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
gerry
Top achievements
Rank 1
Share this question
or