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

Javascript and css vs Internet explorer 6

3 Answers 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
guillaume.lebel
Top achievements
Rank 1
Iron
guillaume.lebel asked on 28 Nov 2008, 03:16 PM
Hi i've been developping a web application with telerik ajax controls but when i tried to open it in IE6 nothing is working i keep getting Javascript error but in IE7 everything goes fine.

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 28 Nov 2008, 03:26 PM
Hello Guillaume,

Please provide a URL for testing or attach a sample website where the problem can be reproduced.

Thank you for your cooperation.

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
guillaume.lebel
Top achievements
Rank 1
Iron
answered on 01 Dec 2008, 04:56 PM
I can't provide any link but there's the code i use for one of the page i'm working on.
MasterPage:
<%@ Master Language="C#" AutoEventWireup="true" Codebehind="UnitMenuMasterPage.Master.cs" 
    Inherits="CCO.Fortress.MainWebApplication.Content.Unit.UnitMenuMasterPage" %> 
<%@ Register Src="~/Controls/Configuration/RadDatePickerConfigurator.ascx" TagName="RadDatePickerConfigurator" 
    TagPrefix="fortress" %> 
<%@ Register Src="~/Controls/Messages/MessagesDisplay.ascx" TagName="MessagesDisplay" 
    TagPrefix="fortress" %> 
<%@ Register Src="~/Controls/Menu/MainApplicationMenu.ascx" TagName="MainApplicationMenu" 
    TagPrefix="fortress" %> 
<%@ Register Src="~/Controls/Menu/Toolbar.ascx" TagName="Toolbar" TagPrefix="fortress" %> 
<%@ Register Src="~/Controls/Toolbars/PopupWindowToolbar.ascx" TagName="PopupWindowToolbar" 
    TagPrefix="fortress" %> 
<%@ Register Src="~/Controls/Menu/BreadCromb.ascx" TagName="BreadCromb" TagPrefix="fortress" %> 
<%@ Register Src="~/Controls/User/UserInformation.ascx" TagName="UserInformation" 
    TagPrefix="fortress" %> 
<%@ Register Src="~/Controls/Progress/ActionInProgress.ascx" TagName="ActionInProgress" 
    TagPrefix="fortress" %> 
<%@ Register Src="~/Controls/DashBoard/ChangeLanguageLink.ascx" TagPrefix="fortress" 
    TagName="ChangeLanguageLink" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head id="Head1" runat="server">  
    <title>Forteresse</title> 
    <link type="text/css" href="~/Css/Main.css" rel="stylesheet" /> 
    <%-- Le source pour PageContent.js est inclu par le code behind. --%> 
    <telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">  
    <!--[if lt IE 7.]> 
    <script defer type="text/javascript" src="Scripts/pngfix.js"></script> 
    <![endif]--> 
 
        <script language="javascript" type="text/javascript">  
      
    function RefreshAfterRadWindowClose(refresh)  
    {  
        if ( refresh)  
        {  
            refreshGrid();  
        }  
          
    }  
          
    function refreshGrid()  
    {  
        $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("Rebind");  
    }    
 
    function requestStart(sender, eventArgs)  
    {  
       CCO.Fortress.ActionInProgress.Start();  
    }  
 
    function responseEnd(sender, eventArgs)  
    {  
      CCO.Fortress.ActionInProgress.EnablePage();  
    }      
        </script> 
 
    </telerik:RadScriptBlock> 
</head> 
<body> 
    <form id="MainFortressForm" runat="server">  
        <fortress:ActionInProgress ID="ActionInProgress1" runat="server" /> 
        <fortress:RadDatePickerConfigurator ID="RadDatePickerConfigurator1" runat="server" /> 
<%--    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">  
            <input type="hidden" id="Language" name="Language" value="<%=Language %>" /> 
        </telerik:RadScriptBlock> 
--%> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
        </telerik:RadScriptManager> 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
            <clientevents onrequeststart="requestStart" onresponseend="responseEnd" /> 
        </telerik:RadAjaxManager> 
        <div id="Header">  
            <fortress:UserInformation ID="UserInformationDisplay" runat="server" /> 
            <div id="ToolsColumn">  
                <fortress:PopupWindowToolbar ID="PopupWindowToolbar1" runat="server"></fortress:PopupWindowToolbar> 
                <fortress:ChangeLanguageLink ID="ChangeLanguageLink" runat="server" /> 
                <div> 
                    <span style="font-size: 16px; font-weight: bold; font-family: Calibri">Dossiers cadets  
                        :: Hugues Ferland</span> 
                </div> 
            </div> 
        </div> 
        <div id="MenuSection">  
            <div id="MenuSectionHandle" style="display: none;">  
            </div> 
            <div id="MenuSectionMenuContainer">  
                <fortress:MainApplicationMenu ID="MainApplicationMenuFortress" runat="server" /> 
            </div> 
        </div> 
        <div id="PageSection">  
            <div id="TitleSection">  
                <asp:ContentPlaceHolder ID="PageTitle" runat="Server">  
                    <p> 
                        ~Aucun titre de page.</p> 
                </asp:ContentPlaceHolder> 
            </div> 
            <asp:Panel ID="MessagesSection" runat="server" Style="padding-left: 5px; width: 785px">  
                <fortress:MessagesDisplay ID="MessagesDisplaySection" runat="server"></fortress:MessagesDisplay> 
            </asp:Panel> 
            <div id="ContentSection">  
                <div> 
                    <asp:ContentPlaceHolder ID="PageContent" runat="Server">  
                    </asp:ContentPlaceHolder> 
                </div> 
            </div> 
        </div> 
    </form> 
    <div style="clear: both">  
    </div> 
</body> 
</html> 
 
HomePage
<%@ Page Language="C#" MasterPageFile="~/Content/Unit/UnitMenuMasterPage.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs"   
Inherits="CCO.Fortress.MainWebApplication.Content.Home" Title="Untitled Page" EnableViewState="False" %> 
 
<%@ Register Src="~/Controls/DashBoard/WelcomeBoard.ascx" TagPrefix="fortress" TagName="WelcomeBoard" %> 
<%@ Register Src="~/Controls/DashBoard/TitleBoard.ascx" TagPrefix="fortress" TagName="TitleBoard" %> 
<%@ Register Src="~/Controls/DashBoard/ActivityCalendar.ascx" TagPrefix="fortress" TagName="ActivityCalendar" %> 
<%@ Register Src="~/Controls/DashBoard/PresenceStats.ascx" TagPrefix="fortress" TagName="PresenceStats" %> 
<%@ Register Src="~/Controls/DashBoard/ResourceCenter.ascx" TagPrefix="fortress" TagName="ResourceCenter" %> 
<asp:Content ID="ContentDashboardPageTitle" ContentPlaceHolderID="PageTitle" runat="server">  
<asp:Label id="LabelTitleDashboard" runat="server" meta:resourcekey="LabelTitleDashboard"></asp:Label> 
</asp:Content> 
<asp:Content ID="ContentDashboardPageContent" ContentPlaceHolderID="PageContent" runat="server">  
<div style="width: 780px; padding: 5px;">  
    <div style="margin-left:5px;">  
        <div class="WelcomeBoardDiv">  
            <fortress:WelcomeBoard ID="WelcomeBoardDisplay" runat="server"></fortress:WelcomeBoard> 
        </div> 
        <div style="width:550px; float:left;">  
            <fortress:ActivityCalendar ID="ActivityCalendar" runat="server" /> 
            <fortress:PresenceStats ID="PresenceStats" runat="server" /> 
        </div> 
    </div> 
    <div style="float: left; padding: 5px;">  
    </div> 
    <div style="float: right; margin-right:5px;">  
        <fortress:TitleBoard ID="TitleBoard" runat="server" /> 
    </div> 
    <div style="float:right; margin-right:5px; margin-top:5px;">  
        <fortress:ResourceCenter ID="ResourceCenter" runat="server" /> 
    </div> 
<%--<asp:Image id="ImageCalendar" runat="server" meta:resourcekey="ImageCalendar" style="clear: left; float: left; padding: 5px;"/>  
<asp:Image id="ImageWeekAttendance" runat="server" meta:resourcekey="ImageWeekAttendance" style="float: right; padding: 5px;"/>--%> 
</div> 
</asp:Content> 
The only thing that's showing is toolbar on top and a few image but i don't have my menu to the left and the content in my page.
0
Daniel
Telerik team
answered on 04 Dec 2008, 01:46 PM
Hello Guillaume,

In order to try to provide to-the-point answer we need to examine the error message - can you share it with us? Of course the best option would be to isolate the issue in a working example.

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
guillaume.lebel
Top achievements
Rank 1
Iron
Answers by
Daniel
Telerik team
guillaume.lebel
Top achievements
Rank 1
Iron
Share this question
or