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

Lightweight and 1px Title

1 Answer 4 Views
Window
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 09 Oct 2013, 12:02 PM
Hi,

We are trying to use Lightweight rendering on RadWindow, but ran into problems...

When using AutoSize and the title is set, the title is resized to 1px width!!!

Did the following sample:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="window.aspx.vb" Inherits="TestaTredjepartWeb.window" %>
 
<!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>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="s" runat="server">
    </asp:ScriptManager>
    <div>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
            <Windows>
                <telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true" AutoSize="true" RenderMode="Lightweight" Title="Hello">
                    <ContentTemplate>
                        Some content
                    </ContentTemplate>
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
    </div>
    </form>
</body>
</html>
In this sample the title should be "Hello", but that isn't visible at all...
Same behavior in Q2 2013.2.717 and in the Q3 Beta!

Regards
Andreas

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 10 Oct 2013, 03:39 PM
Hello Andreas,

This is a know problem that is already logged for fixing: http://feedback.telerik.com/Project/108/Feedback/Details/54633. You can either switch back to classic render mode, or use the CSS workaround offered in the above page. Please accept my apologies for the inconvenience caused.


Regards,
Marin Bratanov
Telerik
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 the blog feed now.
Tags
Window
Asked by
Andreas
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or