I can confirm this is a bug with the lightweight render mode and I have logged it for fixing.
In the meantime I can offer two workarounds:
- set the VIsibleStatusbar property of the RadWIndowManager to false, if all your RadWindows need no statusbar
- use the following script if some do and you need to hide it for the rest:
oWnd = window.radopen(pageURL, winName);
//will work for classic rendermode
//will work for lightweight. In classic jQuery will not throw exceptions because of the element it cannot find
contentElem = $telerik.$(
contentElem.height(contentElem.height() + 20);
In Shinu's sample the visibility of the statusbar is toggled before the UI of the control is rendered (i.e., shown for the first time), which is why it worked. After the call to show() (or radopen() or wndManager.open(), of course) the set_visibleStatusbar(false) call will not work.
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