What changed for Q3 2012?

4 posts, 1 answers
  1. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 06 Nov 2012 Link to this post

    Hi,

    I use RadDock panels to give me a panel with a title bar.  Worked fine till Q3 now they all seem to float to the left.  Before they sat where they were put on the page.

    Please could you advise me on any changes made between Q2 and Q3 so that I can get a work around for this problem.

    Regards,

    Jon
  2. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 07 Nov 2012 Link to this post

    To further elaborate on the prior email, if this is run in the earlier version (I think I was on Q2 SP1 2012) then it will work, you should see the raddock window inside the table and centered.  

    Now the window is below the table and not centred - actually I can understand it not being centred if it has been moved out of the table.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
        <head runat="server">
            <title></title>
            <telerik:RadCodeBlock ID="RadCodeBlock2" runat="server"
                <style type="text/css">
                    .RadDock
                    {
                        position:relative ! important;
                    }       
                     
                    .RadDock table.rdTable tr.rdMiddle td.rdCenter .rdContent
                    {
                        overflow:hidden;
                    }
                </style>
            </telerik:RadCodeBlock>
        </head>
        <body class="sideColumn">
            <form id="form1" runat="server">
                <telerik:RadScriptManager ID="uxRadScriptManager" runat="server"></telerik:RadScriptManager>
                <telerik:RadStyleSheetManager ID="uxRadStyleSheetManager" Runat="server"></telerik:RadStyleSheetManager>
                <table cellspacing="0" cellpadding="0" style=" border:solid 1px black;" width="500px">
                    <tr>
                        <td align="center">
                            this is centered and in the table
                            <telerik:RadDock ID="uxPanel" runat="server"
                                Title="Test" EnableRoundedCorners="False"
                                EnableDrag="False" Index="-1" Tag="" Width="400" >
                                <ContentTemplate>
                                but this isn't
                                </ContentTemplate>
                            </telerik:RadDock>
                        </td>
                    </tr>
                </table>
            </form>
        </body>
    </html>
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Slav
    Admin
    Slav avatar
    1356 posts

    Posted 07 Nov 2012 Link to this post

    Hello Jon,

    I will write my response to your support ticket here as well so that it is available for anyone who encounters the described behavior.

    Since the latest release of RadControls for ASP.NET AJAX the RadDock control is rendered as a direct child of the form on the page. To resolve this please use the recommended approach for positioning a RadDock on a specific location in the page - add a RadDockZone and dock the control inside as shown in the following code sample:
    <table cellspacing="0" cellpadding="0" style="border: solid 1px black;" width="500px">
        <tr>
            <td align="center">
                this is centered and in the table
                <telerik:RadDockZone runat="server" ID="RadDockZone1" Width="400" style="border: none; padding: 0;">
                    <telerik:RadDock ID="uxPanel" runat="server" Title="Test" EnableRoundedCorners="False"
                        EnableDrag="False" Index="-1" Tag="" Width="400">
                        <ContentTemplate>
                            but this isn't
                        </ContentTemplate>
                    </telerik:RadDock>
                </telerik:RadDockZone>
            </td>
        </tr>
    </table>


    All the best,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 07 Nov 2012 Link to this post

    Hi Slav,

    As mentioned in the support ticket this works fine now.  Many thanks for your help.

    Regards,

    Jon
Back to Top