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

RadPane ContentURL in UpdatePanel throwing JS error

1 Answer 108 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Rei
Top achievements
Rank 1
Rei asked on 10 Jan 2008, 02:11 AM

(Q3) I put a Splitter inside an update panel and then use a button to set one of its' RadPane's ContentURL to a different URL

<asp:UpdatePanel ID="udpMenu" runat="server">  
                        <ContentTemplate> 
                            <telerik:RadSplitter SkinID="Default" Height="100%" Width="100%" ID="rspContent" 
                                runat="server" Orientation="Vertical">  
                                <telerik:RadPane ID="RadPane1" runat="server" Width="175" MaxWidth="175" Scrolling="Y">  
                                    NavBar  
                                </telerik:RadPane> 
                                <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward" /> 
                                <telerik:RadPane ID="rpnContent" ContentUrl="http://www.yahoo.com" runat="server" Scrolling="None">  
                                </telerik:RadPane> 
                            </telerik:RadSplitter> 
                        </ContentTemplate> 
                        <Triggers> 
                            <asp:AsyncPostBackTrigger ControlID="btn" /> 
                        </Triggers> 
                    </asp:UpdatePanel> 

The btn has OnClick="btn_Click" which set rpnContent.ContentURL to http://www.google.com

On first load using IE7 with the Javascript error notification turned on, I get this weird Error 153 Unspecified Error.

Click the btn, and I get this error message: "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept focus"

In Firefox, no Error, just 4 Warnings:
Warning: Error in parsing value for property 'top'.  Declaration dropped.
Source File: http://localhost:2188/WebSite1/Default.aspx
Line: 0

also for property left, height, and width

Other than that, it works really nice. I know most users have their IE7 JS error switched off, but that yellow triangle warning icon at bottom left means imperfection, and Telerik != Imperfection. Hope it's fixed in the next release

Thanks

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 15 Jan 2008, 01:20 PM
Hi Rei,

Thank you for contacting us.

I created a sample page based on the code you have sent us and tested it with the dll form Q3,2007, however, I was not able to reproduce the problem you experience neither in IE7 nor in Firefox. Please, take a look at may testing page which I have attached and let me know whether your scenario differs and if I have missed something.

Looking forward to receiving your reply.

Best wishes,
Sophy
the Telerik team

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