Radwindow Vertical scroll bar width issue

6 posts, 0 answers
  1. Rhbkv
    Rhbkv avatar
    30 posts
    Member since:
    Jun 2012

    Posted 07 Jan 2013 Link to this post

    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
  2. Rhbkv
    Rhbkv avatar
    30 posts
    Member since:
    Jun 2012

    Posted 09 Jan 2013 Link to this post

    Hi,

    This is urgent. Any help?

    Thanks
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3599 posts

    Posted 09 Jan 2013 Link to this post

    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.
  5. Rhbkv
    Rhbkv avatar
    30 posts
    Member since:
    Jun 2012

    Posted 09 Jan 2013 Link to this post

    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
  6. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3599 posts

    Posted 10 Jan 2013 Link to this post

    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.
  7. Rhbkv
    Rhbkv avatar
    30 posts
    Member since:
    Jun 2012

    Posted 10 Jan 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017