Client-side expand after postback shows nothing

3 posts, 0 answers
  1. Jason Reis
    Jason Reis avatar
    4 posts
    Member since:
    Jul 2007

    Posted 04 Dec 2009 Link to this post

    After a postback, I expand the splitter to show the top pane and it's blank.  I inspected the markup and see that the width and height of the top pane are 0px.  This only seems to happen after a postback has occurred.  Has anyone else encountered this?
  2. Jason Reis
    Jason Reis avatar
    4 posts
    Member since:
    Jul 2007

    Posted 04 Dec 2009 Link to this post

    I created a sample page to demonstrate my issue.

    <%@ Page Language="vb" AutoEventWireup="false" %> 
     
    <!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"
            <script type="text/javascript"
                function showTopPane() { 
                    var splitter = $find('<%= Splitter1.ClientID %>'); 
                    splitter.getStartPane().expand(); 
                    return false; 
                } 
            </script> 
            <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
            <asp:Button ID="ShowTopPane" runat="server" OnClientClick="return showTopPane();" Text="Show"/> 
            <TelerikControls:RadSplitter ID="Splitter1" runat="server" Orientation="Horizontal" Width="100%" Height="500"
                <TelerikControls:RadPane ID="TopPane" runat="server" Height="200" Collapsed="true" Width="100%"
                    <p>foo</p> 
                </TelerikControls:RadPane> 
                <TelerikControls:RadSplitBar CollapseMode="Forward"/> 
                <TelerikControls:RadPane Width="100%" Height="100%"></TelerikControls:RadPane> 
            </TelerikControls:RadSplitter> 
            <asp:Button ID="SubmitButton" runat="server" Text="Submit" /> 
        </form> 
    </body> 
    </html> 
     

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jason Reis
    Jason Reis avatar
    4 posts
    Member since:
    Jul 2007

    Posted 04 Dec 2009 Link to this post

    This looks like something you've already fixed.  We're using version 2008.2.723.20.  I upgraded to version 2009.3.1103.20 and it works like I would hope.
Back to Top