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

RadPane.js causes JS error

1 Answer 28 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 18 Apr 2008, 02:51 AM
Dear Telerik,

when i disable embedded js and have script references to Telerik scripts, this line in RadPane.js causes a javascript error:

this._contentElement=$get("RAD_SPLITTER_PANE_CONTENT_"+this.get_id());

Thanks,


Simon


1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 21 Apr 2008, 03:19 PM
Hi Simon,
I tested your scenario with the following code:
<body> 
    <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
            <Scripts> 
                <asp:ScriptReference Path="~/Scripts/Common/Core.js" /> 
                <asp:ScriptReference Path="~/Scripts/Common/PopUp/PopUpScripts.js" /> 
                <asp:ScriptReference Path="~/Scripts/Splitter/RadPane.js" /> 
                <asp:ScriptReference Path="~/Scripts/Splitter/RadSlidingPane.js" /> 
                <asp:ScriptReference Path="~/Scripts/Splitter/RadSlidingZone.js" /> 
                <asp:ScriptReference Path="~/Scripts/Splitter/RadSplitBar.js" /> 
                <asp:ScriptReference Path="~/Scripts/Splitter/RadSplitter.js" /> 
                <asp:ScriptReference Path="~/Scripts/Splitter/SplitterItem.js" /> 
                <asp:ScriptReference Path="~/Scripts/Splitter/SplitterPaneBase.js" /> 
            </Scripts> 
        </asp:ScriptManager> 
        <telerik:RadSplitter ID="RadSplitter1" runat="server" EnableEmbeddedScripts="false">  
            <telerik:RadPane ID="RadPane1" runat="server">  
            </telerik:RadPane> 
            <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Both" /> 
            <telerik:RadPane ID="RadPane2" runat="server">  
            </telerik:RadPane> 
        </telerik:RadSplitter> 
    </form> 
</body> 

Unfortunately, I was not able to reproduce the problem you describe. Could you please prepare and send us a simple running project, demonstrating the problem and send it to us as an attachment to a new support thread?

Greetings,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Splitter
Asked by
Simon
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or