Hello,
This bug seems to be specific to Chrome. I'm currently using Chrome version 21.0.1180.79 m. RadEditor seems to be hijacking event handling to cause an exception in RadSplitter. The error that I'm getting is "Uncaught TypeError: Cannot read property 'tagName' of null". It's taken me a bit to narrow it down, but the following code reproduces. I'm using Telerik.Web.UI version 2011.3.1115.35
Steps to reproduce this error:
1. Click on the RadEditor to give it focus.
2. Try to slide the RadSplitter
Results: The split bar moves faster than your cursor. See stack trace below.
Stack Trace:
Uncaught TypeError: Cannot read property 'tagName' of null Telerik.Web.UI.WebResource.axd:9418
Telerik.Web.UI.Editor.Selection.getParentElement Telerik.Web.UI.WebResource.axd:9418
a.RadEditor.getSelectedElement Telerik.Web.UI.WebResource.axd:9896
a.RadEditor.getToolValue Telerik.Web.UI.WebResource.axd:9928
Telerik.Web.UI.Editor.DefaultToolAdapter.setToolState Telerik.Web.UI.WebResource.axd:6740
Telerik.Web.UI.Editor.DefaultToolAdapter._onEditorSelectionChange Telerik.Web.UI.WebResource.axd:6891
(anonymous function) Telerik.Web.UI.WebResource.axd:6
(anonymous function) Telerik.Web.UI.WebResource.axd:6
Telerik.Web.UI.RadWebControl.raiseEvent Telerik.Web.UI.WebResource.axd:778
Type.callBaseMethod Telerik.Web.UI.WebResource.axd:6
a.RadEditor.raiseEvent Telerik.Web.UI.WebResource.axd:9661
a.RadEditor.set_html Telerik.Web.UI.WebResource.axd:10229
a.RadEditor.onParentNodeChanged Telerik.Web.UI.WebResource.axd:9884
a.RadEditor.repaint Telerik.Web.UI.WebResource.axd:10489
window.$telerik.window.TelerikCommonScripts.Telerik.Web.CommonScripts.repaintChildren Telerik.Web.UI.WebResource.axd:96
a.RadPane.set_width Telerik.Web.UI.WebResource.axd:2411
a.RadSplitter._resizeTwoPanesWithDelta Telerik.Web.UI.WebResource.axd:1664
a.RadSplitter._resizeAdjacentPane Telerik.Web.UI.WebResource.axd:1669
a.RadSplitter._resizePanes Telerik.Web.UI.WebResource.axd:2056
a.RadPane.resize Telerik.Web.UI.WebResource.axd:2421
a.RadSplitBar.onDrag Telerik.Web.UI.WebResource.axd:2819
a.ResizeExtender._raiseDragEvent Telerik.Web.UI.WebResource.axd:3526
a.ResizeExtender._resize Telerik.Web.UI.WebResource.axd:3608
a.ResizeExtender._onDocumentMouseMove Telerik.Web.UI.WebResource.axd:3675
(anonymous function)
This bug seems to be specific to Chrome. I'm currently using Chrome version 21.0.1180.79 m. RadEditor seems to be hijacking event handling to cause an exception in RadSplitter. The error that I'm getting is "Uncaught TypeError: Cannot read property 'tagName' of null". It's taken me a bit to narrow it down, but the following code reproduces. I'm using Telerik.Web.UI version 2011.3.1115.35
Steps to reproduce this error:
1. Click on the RadEditor to give it focus.
2. Try to slide the RadSplitter
Results: The split bar moves faster than your cursor. See stack trace below.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
/>
<
telerik:RadSplitter
ID
=
"pageSplitter"
runat
=
"server"
LiveResize
=
"True"
Height
=
"800px"
Width
=
"1200px"
>
<
telerik:RadPane
ID
=
"RadPane1"
runat
=
"server"
Width
=
"250px"
MinWidth
=
"250"
>
<
asp:Panel
ID
=
"pnlNavTree"
runat
=
"server"
>
</
asp:Panel
>
</
telerik:RadPane
>
<
telerik:RadSplitBar
ID
=
"RadSplitBar1"
runat
=
"server"
/>
<
telerik:RadPane
ID
=
"RadPane2"
runat
=
"server"
Scrolling
=
"None"
>
<
asp:Panel
ID
=
"pnlRightPane"
runat
=
"server"
>
<
telerik:RadEditor
runat
=
"server"
ID
=
"Editor"
></
telerik:RadEditor
>
</
asp:Panel
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>
</
div
>
</
form
>
</
body
>
</
html
>
Stack Trace:
Uncaught TypeError: Cannot read property 'tagName' of null Telerik.Web.UI.WebResource.axd:9418
Telerik.Web.UI.Editor.Selection.getParentElement Telerik.Web.UI.WebResource.axd:9418
a.RadEditor.getSelectedElement Telerik.Web.UI.WebResource.axd:9896
a.RadEditor.getToolValue Telerik.Web.UI.WebResource.axd:9928
Telerik.Web.UI.Editor.DefaultToolAdapter.setToolState Telerik.Web.UI.WebResource.axd:6740
Telerik.Web.UI.Editor.DefaultToolAdapter._onEditorSelectionChange Telerik.Web.UI.WebResource.axd:6891
(anonymous function) Telerik.Web.UI.WebResource.axd:6
(anonymous function) Telerik.Web.UI.WebResource.axd:6
Telerik.Web.UI.RadWebControl.raiseEvent Telerik.Web.UI.WebResource.axd:778
Type.callBaseMethod Telerik.Web.UI.WebResource.axd:6
a.RadEditor.raiseEvent Telerik.Web.UI.WebResource.axd:9661
a.RadEditor.set_html Telerik.Web.UI.WebResource.axd:10229
a.RadEditor.onParentNodeChanged Telerik.Web.UI.WebResource.axd:9884
a.RadEditor.repaint Telerik.Web.UI.WebResource.axd:10489
window.$telerik.window.TelerikCommonScripts.Telerik.Web.CommonScripts.repaintChildren Telerik.Web.UI.WebResource.axd:96
a.RadPane.set_width Telerik.Web.UI.WebResource.axd:2411
a.RadSplitter._resizeTwoPanesWithDelta Telerik.Web.UI.WebResource.axd:1664
a.RadSplitter._resizeAdjacentPane Telerik.Web.UI.WebResource.axd:1669
a.RadSplitter._resizePanes Telerik.Web.UI.WebResource.axd:2056
a.RadPane.resize Telerik.Web.UI.WebResource.axd:2421
a.RadSplitBar.onDrag Telerik.Web.UI.WebResource.axd:2819
a.ResizeExtender._raiseDragEvent Telerik.Web.UI.WebResource.axd:3526
a.ResizeExtender._resize Telerik.Web.UI.WebResource.axd:3608
a.ResizeExtender._onDocumentMouseMove Telerik.Web.UI.WebResource.axd:3675
(anonymous function)