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

Border disappears on RadWindow...

5 Answers 132 Views
Window
This is a migrated thread and some comments may be shown as answers.
mark baer
Top achievements
Rank 1
mark baer asked on 12 Apr 2012, 10:37 PM
When I try to open a radwindow, the border is disappearing...If I use similar code on another page, it works just fine...

See attached image, here is the javascript code:

function ShowEditForm(id, boxid, rowIndex, authToken, apiKey) {

 var grid = $find("<%= radgrid.ClientID %>");
       
        var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
        grid.get_masterTableView().selectItem(rowControl, true);

        var url = 'EditReportPage.aspx?id=' + id + '&boxid=' + boxid + '&authtoken=' + authToken + '&apikey=' + apiKey;

        var wnd = window.radopen(url, "EditReportDueDateData");
        wnd.setSize(550, 300);
        wnd.set_visibleStatusbar(false);
        wnd.center();
        return false;
}


4/13/2012 UPDATE: 
This seems to be happening on IE9.  I hit the page from IE8 and it seems to be working.  With that being said, I have another page with a popup radwindow and it appears just fine using IE9.  I am having this problem just on one page.

Thanks

5 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 17 Apr 2012, 11:47 AM
Hello Mark,

Please examine the following help article that treats this situation: http://www.telerik.com/help/aspnet-ajax/radwindow-troubleshooting-missing-borders-titlebar-and-commands.html. It seems this problem is related to the page, so my best guess is that the IE stylesheet limit is being hit. Using the RadStylesheetManager should take care of this problem in this page.


All the best,
Marin
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
mark baer
Top achievements
Rank 1
answered on 19 Apr 2012, 09:44 PM
Thanks for responding.  I already have the RadStylesheet Manager on the page(via a Masterpage).  I checked it on Firefox and the border is missing on that browser as well.  Again, it works fine on another page, just not this one.  Is there something else I can try?

thanks

mark
0
Marin Bratanov
Telerik team
answered on 23 Apr 2012, 01:35 PM
Hi Mark,

Have you examined the requests that the browser performs and their response, as suggested in the article I previously linked?. Are all of them returned properly? If not - the following help article may be useful in troubleshooting this: http://www.telerik.com/help/aspnet-ajax/introduction-web-resources-troubleshooting.html. If they are all OK (i.e. server doce 200 or 304) can you confirm that you are not using a custom skin? Also, if the URLs to images sprites and skin-specific stylesheets are generated via the GetWebResourceUrl() method you may find useful this article on replacing it with a method that can extract the correct URL from the correct assembly.


All the best,
Marin
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
Yeroon
Top achievements
Rank 2
answered on 09 Apr 2013, 12:04 PM
Old thread, but I would like to ass something.

I experienced similar behavior in the following setup:

Scriptmanager setup as seen below and while still debugging in Visual Studio 2010 running on Windows 8 64 bit Pro. Setting the scriptmode to Auto fixed it for me.

<telerik:RadScriptManager runat="server" ID="ScriptManager1" EnableHistory="True"
        EnableScriptGlobalization="True" ScriptMode="Release" EnableScriptCombine="true"
        OutputCompression="AutoDetect" EnableEmbeddedjQuery="False">
    </telerik:RadScriptManager>

0
Mike
Top achievements
Rank 1
answered on 06 May 2014, 09:54 PM
i had the same problem and found a solution. in my case, in the page where i was opening a radwindow, there was  a css modifying the radwindow properties, deleting that css got back my title bar and my border.
so all u have to do is to delete the css and start adding it part by part to see which part of it is causing the disappearance of the title bar. 
Tags
Window
Asked by
mark baer
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
mark baer
Top achievements
Rank 1
Yeroon
Top achievements
Rank 2
Mike
Top achievements
Rank 1
Share this question
or