RadSplitter not expanding and collapsing in IE 8

2 posts, 0 answers
  1. Dev
    Dev avatar
    28 posts
    Member since:
    Jan 2011

    Posted 04 Nov 2012 Link to this post

    Hello,

    I have a radwindow inside that i have places an aspx page. In that page I have placed a RadSplitter with two radpanes. And in each radpane I have placed an usercontrol. Both of the radpanes contains same usercontrol. So the control hierarchy is somthing like this :

    RadWindow -> aspx page -> RadSplitter

    Inside radSplitter there are two RadPanes separated by RadSplitBar. And Each RadPane contains an usercontrol inside.

    All this stuff works fine in all other browsers except IE 8. Resize of split bar is working fine in IE 8 but expand and collapse is not working.
    The two major problm IE 8 is creating is

    1) Expand and collapse hides whole radPane
    2) Background image of radWindow is not loading.

    Please see images attached.

    Kindly provide the solution if you have any idea regarding this.

    Thanks in advance..




  2. Vessy
    Admin
    Vessy avatar
    1385 posts

    Posted 06 Nov 2012 Link to this post

    Hi Devendra,

    The external content of a RadWindow is rendered as a standard IFRAME and respectively it inherits all of the known IFRAME's limitations. I made a little research and it turns that in order to use a background-image and/or background-color to an IFRAME in IE8 and bellow you need to set the IFRAME's allowTransparency="true" property (more information is available in here: Background image doesn't show in IE7 and IE8). You could do it in the RadWindow's OnClientShow event handler:
    function OnclientShow(sender, args) {
        var iframe = sender.get_contentFrame();
        $telerik.$(iframe).attr("allowTransparency", "true");
    }

    Regarding the Splitter issue - I tried to reproduce it following the described scenario but to no avail. Attached to this message, you will find the code which I used for testing.

    Please, take a look at it and let me know if there are any differences at your end, which I may be leaving out. Could you modify the project to a point where the problem occurs and send it back? For my test I used the latest version of RadControls for ASP.Net AJAX (2012.3.1016).

    All the best,
    Vesi
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top