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

IE6 not displaying title bar icons

15 Answers 125 Views
Window
This is a migrated thread and some comments may be shown as answers.
Temp
Top achievements
Rank 1
Temp asked on 13 Aug 2008, 12:49 AM
I have a page which opens two radwindows, and in both of them the menu bar icons do not display in IE6. They are still there because you can click where they should be and the page closes etc.. but you cannot see them. In IE7 they display perfectly.
Is this a common problem or something you've seen before?

Should I change anything in the following code:

    <script language="javascript" type="text/javascript">  
        <!--  
function openWin()  
        {     
            var o = $get('ctl00$ContentMain$hdnIDPGUID');  
            if(null != o)  
            {  
                var oWnd = radopen("IDPHistory.aspx?GUID=" + o.value, "RadWindow1");  
                oWnd.RestrictionZoneID = "divbody";  
            }  
        }  
        function openMailWin(mailid, idpguid, dnguid)  
        {  
            var oWnd = radopen('IDPMail.aspx?MailID=' + mailid + '&idpguid=' + idpguid + '&dnguid=' + dnguid, "RadWindowEmail");  
              
            oWnd.add_close(OnClientClose);  
        }  
 
        function closeWindow()  
        {     
            var currentWindow = GetRadWindow();  
        }  
 
           
        //--> 
    </script> 
 
 
    <telerik:RadWindowManager VisibleStatusbar="false" Skin="WebBlue" Width="550" Height="650" DestroyOnClose="true" KeepInScreenBounds="true" ID="RadWindowManager1" runat="server"  Behaviors="Minimize, Move, Close, Pin, Reload" RestrictionZoneID="divbody">  
    </telerik:RadWindowManager> 
     

15 Answers, 1 is accepted

Sort by
0
Temp
Top achievements
Rank 1
answered on 13 Aug 2008, 02:20 AM
I am looking at this some more, and I can view the same site on the same machine, hosted on different servers (both IIS6 and Windows2003) and one produces this problem, while the other does not.

Is there anything I should be looking for? IIS is setup the same in both instances.
0
Georgi Tunev
Telerik team
answered on 13 Aug 2008, 02:49 PM
Hi Temp,

I am afraid I don't recall someone reporting such problem before. Could you provide a live Url where the problem can be seen? Also what do you have on the content page?



All the best,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Temp
Top achievements
Rank 1
answered on 14 Aug 2008, 04:53 AM
Hi Georgi, sorry but the client did not want me to spend any time on this and made us go back to normal popup windows. I couldnt solve it, tried putting the functions in a code block, changing skins, using single windows and the window manager etc.. Just couldn't get it to consistently work, sometimes it would but mostly the pictures would not show in ie 6.
If I get some time to update the page later I will try it again.
0
Georgi Tunev
Telerik team
answered on 14 Aug 2008, 06:30 AM
OK Temp,

If you manage to isolate the problem, just send it to me and I will check it.



Kind regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Joseph
Top achievements
Rank 1
answered on 30 Dec 2008, 08:20 PM
I'm experiencing this problem as well.  I am in the process of gathering screenshots.  It only shows up on IE6.

I experience three problems:
1.  RadDock's pinning feature does not work in IE6
2.  RadWindows do not show icons or buttons (e.g. close/pin) in the titlebar.
3.  RadAlerts experience the same behavior.

I'll let you know as soon as I have screenshots and perhaps an isolated code sample.

thanks,
joseph
0
Joseph
Top achievements
Rank 1
answered on 30 Dec 2008, 08:58 PM
OK I tried this same issue on another machine with IE6 and it does not occur, even though the version strings are identical (6.0.2900 SP2 on XP SP2).  I am not quite sure why it happens.

I was able to fix the "IE6 not displaying title bar icons" by having the user clear his cache/temporary internet files, delete his cookies, clear his history, then close his browser.  As soon as I did this the behavior went away with the windows.  However the Docks do not pin in either version of IE6.  The windows pin just fine, though, just not the docks.  I'll report this in a separate thread.

FYI I wanted to share my issue and solution with the original poster et al.

Much obliged,
joseph

0
Joseph
Top achievements
Rank 1
answered on 30 Dec 2008, 09:32 PM
FYI I should actually mention that although the clearing of cache and restarting of the browser helped in my scenario with the original poster's issue that I too am experiencing, the issue seemed to come back occassionally if the page was "busy".  In other words if content (like raddock's) were still loading and I clicked on a link which brought up a window, occassionally the same behavior would occur again.  IF it occurred again it would stay until the page was posted back to the server and refreshed, after which time it would go away.  It almost seems like a race condition.  I will open a new thread if I can isolate the problem and figure out a way to consistently reproduce it.

thanks,
joseph
0
Georgi Tunev
Telerik team
answered on 05 Jan 2009, 09:17 AM
Hello Joseph,

I talked with one of ours CSS gurus about the problem with the icon and he suggest to try adding the following style in your page and check if this will fix the problem:
.windowicon  
    //tirgger hasLayout in IE 
    _zoom: 1%; 


I hope this helps.


Sincerely yours,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Joseph
Top achievements
Rank 1
answered on 05 Jan 2009, 05:32 PM
Georgi, do I need to put the !important at the end of zoom: 1%?

thanks,
joseph
0
Joseph
Top achievements
Rank 1
answered on 05 Jan 2009, 05:47 PM
Georgi, I tried doing the zoom property but it didn't seem to work.  The same behavior occurred in IE6.  Also in IE7 it actually made the icon I specified dissapear when I set zoom: 1% !important.

It's a very strange issue as it doesn't consistently occur, but it does occur in at least two browsers.

joseph
0
Georgi Tunev
Telerik team
answered on 06 Jan 2009, 02:10 PM
Hi Joseph,

Please accept my apologies - the value of the property is 1 (not 1%). Please remove the percent symbol and try again.



Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rick
Top achievements
Rank 1
answered on 06 Jan 2009, 10:00 PM
Hey Georgi, this seems to work for the windowicon, however the titlebar itself was cutoff and the rest of the window icons (e.g. close/collapse/expand/pin) were invisible.  See attached screenshots.  Are there other css elements that perhaps need to be modified to make the rest showup?

*Edit* Actually correction, the windowicons still dissapear.  Sometimes it's the images of the icons themselves that do not appear with the titlebar being visible and sometimes it's just the titlebar and the images.

Screenshot of issue:
http://www.section31.cc/work/telerik-window-problem.png

**Edit** also if it helps, here is the xmlns and DTD info for the page I'm using radwindow on.: 

 

 

<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   
 
<html xmlns="http://www.w3.org/1999/xhtml" >   
 
 

 

 

 

 


Also your demos link appears to be generating a 404 now for all asp.net ajax products (http://demos.telerik.com/ErrorPageResources/error.aspx?aspxerrorpath=/aspnet-ajax/Controls/Examples/Default/DefaultCS.aspx)

thanks,
joseph

0
Martin
Telerik team
answered on 08 Jan 2009, 07:03 AM
Hello Rick,

The issue you have described may be caused not by RadWindow itself, but if the content of the page is too large. By some odd reason, older versions of Internet Explorer sometimes "give up" loading certain parts of the page, especially images. I am not sure if you can help in that particular case, but at least we can try. Please, prepare and send us a small running project that contains your layout, content, CSS files and RadWindow and where the problem can be observed.

Sincerely yours,
Martin Ivanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rick
Top achievements
Rank 1
answered on 08 Jan 2009, 08:30 PM
Martin, thanks for looking into this for me.  I think I may have actually found out the source of the issue.  I can no longer reproduce it on the affected machine after I have made the following change mentioned below..

This was the code I was using to launch my radwindows

Before:
                <div style="text-align: right; display: inline-table;">  
                » <href="javascript:void(0);" onclick="showAddPanelDialog();">Add Panel</a> &nbsp;|&nbsp;  
                  <href="javascript:void(0);" onclick="showManageTabsDialog();">Manage Tabs</a> &nbsp;|&nbsp;  
                  <href="javascript:void(0);" onclick="saveLayout();">Save Layout</a>&nbsp;|&nbsp;  
                  <href="javascript:void(0);" onclick="resetLayout();">Reset All</a>&nbsp;&nbsp;  
                </div> 

Notice the removal of javascript:void(0); and the onclick method.

After:
                <div style="text-align: right; display: inline-table;">  
                » <href="javascript:showAddPanelDialog();">Add Panel</a> &nbsp;|&nbsp;  
                  <href="javascript:showManageTabsDialog();">Manage Tabs</a> &nbsp;|&nbsp;  
                  <href="javascript:saveLayout();">Save Layout</a>&nbsp;|&nbsp;  
                  <href="javascript:resetLayout();">Reset All</a>&nbsp;&nbsp;  
                </div> 

For whatever reason javascript:void(0) was causing weird behavior on IE6 but not on IE7.  I am not sure if the original author was also having the same issue, however this was the source of my problem.  This same void(0); function call was also causing my SaveLayout method to not respond to navigation and button clicks invoked from javascript.  It was very strange and arbitrary.  I have tested both of the affected machines and, although IE6 seems to load the window icons slower, the titlebars and icons do eventually load.

Here is a post from another person online that talks about the dangers of using javascript:void(0); and it has to do with pictures not displaying.  I was also experiencing another issue where graph images were not displaying until I right-clicked them and selected "show picture" which was probably also related to this as well (this happened even in IE7): 
http://blog.reindel.com/2006/08/11/a-hrefjavascriptvoid0-avoid-the-void/

I learned this technique years ago because the "#" tag jumped the user to the top of the page.

If the issue returns again I will do as asked and attempt to isolate my code into a separate project, however this appears to be the solution.

Much obliged,
joseph
0
Martin
Telerik team
answered on 09 Jan 2009, 06:34 AM
Hello Rick,

Thank you for the article you've sent, we will have a thorough look at it and we will investigate the problem as well in order to improve the performance of RadWindow.

Greetings,
Martin Ivanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Temp
Top achievements
Rank 1
Answers by
Temp
Top achievements
Rank 1
Georgi Tunev
Telerik team
Joseph
Top achievements
Rank 1
Rick
Top achievements
Rank 1
Martin
Telerik team
Share this question
or