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

Panes collapsed when client function added to nested telerik control

2 Answers 35 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Cyber High
Top achievements
Rank 1
Cyber High asked on 06 Oct 2008, 07:02 PM
I have a splitter control with width set to 100%. It has a left pane, a splitbar, and a right pane. The right pane has a combobox with an onclientfocus event.

When the page loads, both the left and right panes are completely collapsed. If I remove the 100% width, or set it to a fixed pixel width, it works as expected. Also, if I remove the onclientfocus event from the combobox, it works as expected.

I have duplicated this same problem with the onclientblur event of the combobox, and with the onclientnodeclicked event of the treeview control.

So it seems to be an overall problem when adding a client side event to a telerik control which is nested within a splitter control with width set to 100%.

I am using version 2008.2.826.35 of the Telerik.Web.UI.dll.

Here is a simple code sample:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> 
<!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>Untitled Page</title> 
</head> 
<body> 
  <form id="form1" runat="server">  
        <asp:scriptmanager id="ASPNET_ScriptManager" runat="server" /> 
        <telerik:radsplitter id="radSplitter1" runat="server" width="100%">  
            <telerik:radpane id="pane1" runat="server">  
 
            </telerik:radpane> 
            <telerik:radsplitbar id="splitbar1" runat="server" collapsemode="Forward" /> 
            <telerik:radpane id="pane2" runat="server">  
                <telerik:radcombobox id="rcb" runat="server" onclientfocus="test">  
                  
                </telerik:radcombobox>    
            </telerik:radpane> 
        </telerik:radsplitter> 
  </form> 
</body> 
</html> 

2 Answers, 1 is accepted

Sort by
0
Cyber High
Top achievements
Rank 1
answered on 07 Oct 2008, 03:07 PM
I need a solution to this asap. Opened support ticket 166238.
0
Cyber High
Top achievements
Rank 1
answered on 07 Oct 2008, 10:15 PM
This is being caused by the non-existence of the javascript function "test" on the page.
Tags
Splitter
Asked by
Cyber High
Top achievements
Rank 1
Answers by
Cyber High
Top achievements
Rank 1
Share this question
or