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

Radwindow Vertical scroll bar width issue

5 Answers 212 Views
Window
This is a migrated thread and some comments may be shown as answers.
Rhbkv
Top achievements
Rank 1
Rhbkv asked on 07 Jan 2013, 10:56 AM
Hi,
We have upgraded telerik control version 2012.2.912.40 recently. After upgrade, the radwindow vertical scrollbar is not complectly visible. The scroll bar "width" is hidden half in IE. Using developer tool, if we reduce the IFrame width from 100% to 99%, vertical scroll bar width is getting displayed correctly. It seems IFrame width is beyond the content window. No issues with horizontal scroll bar.
Attached the screenshot for the same. No luck even if we apply CSS. No issues before upgrade.

Please help us to resolve this issue.

Thanks
Hari

5 Answers, 1 is accepted

Sort by
0
Rhbkv
Top achievements
Rank 1
answered on 09 Jan 2013, 08:48 AM
Hi,

This is urgent. Any help?

Thanks
0
Marin Bratanov
Telerik team
answered on 09 Jan 2013, 01:17 PM
Hello Hari,

I have never seen such behavior with RadWindow before, neither with older versions, nor with 2012.2.912, nor with the latest 2012.3.1308. Have you tried the latest to see if you still have the same behavior?

What I can advise is that you try the following suggestions in the meantime:
- make sure your browser is not zoomed. Usually View -> Zoom will show a list, select 100% and see if this fixes the problem
- try removing all custom CSS you have on the page in case some rule there is interfering with RadWindow's markup. If this fixes the problem you can start slowly re-adding your rules to find the cultprit, then make it more specific so it will not affect RadWindow
- make sure you have no JavaScript errors on the page. If there are, does resolving them alleviate the situation?
- remove all custom code related to RadWindow to see if something you have added is causing this

If you are still unable to resolve this I advise that you post the minimal code that reproduces the problem on your end so we can actually inspect this case.


Greetings,
Marin Bratanov
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.
0
Rhbkv
Top achievements
Rank 1
answered on 09 Jan 2013, 03:12 PM
Thanks Martin.
I am going to try the ways you have suggested.
Meanwhile, Is it possible to override Radwindow styles? Could you please provide some some code to override radwindow style.
Thanks.
Hari
0
Marin Bratanov
Telerik team
answered on 10 Jan 2013, 12:02 PM
Hi Hari,

You can modify the iframe when the RadWindow is shown:
<script type="text/javascript">
    function OnClientShow(sender, args)
    {
        sender.get_contentFrame().style.width = "99%";
        sender.get_contentFrame().style.height = "99%";
    }
</script>

where this function is attached to the OnClientShow event of the RadWindow:
<telerik:RadWindow ID="RadWindow1" runat="server" OpenerElementID="Button1" OnClientShow="OnClientShow" NavigateUrl="http://www.telerik.com/">
</telerik:RadWindow>
<asp:Button ID="Button1" Text="open the RadWindow" runat="server" />


Greetings,
Marin Bratanov
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.
0
Rhbkv
Top achievements
Rank 1
answered on 10 Jan 2013, 12:08 PM
Thanks again Martin.

The scroll bar issue is also resoved by removing custom css for "th and td".

Thank you very much for your quick help!
Hari.
Tags
Window
Asked by
Rhbkv
Top achievements
Rank 1
Answers by
Rhbkv
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or