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

RenderMode="Lightweight" Issues

1 Answer 118 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 14 Jun 2013, 12:54 PM
Hi,

I wanted to take advantage of the lightweight rendermode, but when I set 
RenderMode="Lightweight"
On RadWindow and RadWindow Manager controls, I notice that:

1. I lose my custom icon, it displays the default.
2. Pages that I open in RadWindows that have dynamic page titles (set in codebehind in pre init) do not show the custom title.

When I remove the RenderMode attribute, the issues go away.

Update:
RenderMode="Lightweight" is responsible for the icon not showing up.

 But after removing the RenderMode, I'm still not seeing all my page titles.
That issue is being asked by myself and another user here:
http://www.telerik.com/community/forums/aspnet-ajax/window/title-isn-t-set-from-content.aspx


I am still losing my icon with RenderMode="Lightweight" (I've tried different image formats to no avail)

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 17 Jun 2013, 03:49 PM
Hi Sam,

The issue with the page titles is already logged: Since Q2 2013 RadWindow no longer takes the content page title if ShowContentDuringLoad=true. There is also a workaround that can be used for the time being.

On the icon - I am logging this bug for fixing and you can vote, comment and track its progress here, the workaround is setting the icon in the OnClientShow event:
 
function OnClientShow(sender)
{
    sender.set_iconUrl(sender.get_iconUrl());
}
I have also updated your Telerik points for your report.


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
Sam
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or