+1-888-365-2779
Try Now
More in this section

IE7 SiteMenu

3 posts, 1 answered
  1. xor
    xor avatar
    42 posts
    Registered:
    04 Jan 2010
    26 Nov 2010
    Link to this post
    Hi,
    I am having some problem with my Sitemenu not displaying correctly in IE7. It works fine with IE8 and FireFox. Any ideas? Here's a live link to the site: http://www.ministryinfo.gov.lb/

    Thanks in advance,
    Fadi Raheel
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    26 Nov 2010
    Link to this post
    Hi Fadi,

    Remove the clear none and set  width 130px over the li element with the following selectors rmITem rmFirst

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. xor
    xor avatar
    42 posts
    Registered:
    04 Jan 2010
    29 Nov 2010
    Link to this post
    Thank you Ivan for providing me with the solution to my sitemenu issue.
    I tried to fix other compatibility issue with RadRotator displaying titles of news but didn't have the chance to get it to work properly. My RadRotator shows only the first news record and doesn't scroll to show the other records in IE7. It works fine with IE8 and FireFox.  
    Here's the same link to the live site: http://www.ministryinfo.gov.lb/. The RadRotator control is located below the sitemenu.

    code:
    <telerik:RadRotator Width="747px" Height="230px" ItemWidth="747px" ItemHeight="230px"
        FrameDuration="7000" PauseOnMouseOver="false" ID="Rotator1" runat="server"
        ScrollDirection="Left">
        <ItemTemplate>
            <div class="NewsRotator">
                <asp:HyperLink ID="HyperLink1" NavigateUrl='<%# "~/News/Politics/Details/" + Eval("url") + ".aspx" %>'
                    runat="server">
                    <asp:Image ID="Image1" ImageUrl='<%# Eval("Thumbnail") %>' runat="server" Height="230px"
                        Width="360px" />
                </asp:HyperLink>
                <asp:HyperLink ID="HyperLink2" NavigateUrl='<%# "~/News/Politics/Details/" + Eval("url") + ".aspx" %>'
                    runat="server">
                    <br />
                    <asp:Label runat="server" CssClass="NewsRotatorTitle" ID="headline" Text='<%# Eval("HeadLine") %>' />
                </asp:HyperLink><br /><br /><asp:Label runat="server" CssClass="NewsRotatorContent" ID="Label1" Text='<%# Eval("Summary") %>' />
            </div>
        </ItemTemplate>
    </telerik:RadRotator>

    Telerik.News.NewsManager newsManager = new Telerik.News.NewsManager("News");
                System.Collections.Generic.List<Telerik.Cms.Engine.IMetaSearchInfo> filter = new System.Collections.Generic.List<Telerik.Cms.Engine.IMetaSearchInfo();           
                filter.Add(new Telerik.Cms.Engine.MetaSearchInfo(Telerik.Cms.Engine.MetaValueTypes.Boolean, "Featured", "True", Telerik.Cms.Engine.SearchCondition.Equal));
                  
                IList listOfNewsItems = newsManager.Content.GetContent(0, 3, "Publication_Date DESC", filter.ToArray());
      
                List<RotatorNews> news = new List<RotatorNews>();
      
                foreach (var item in listOfNewsItems)
                {
                    CmsContentBase content = item as CmsContentBase;                
                    IContent newsItem = newsManager.Content.GetContent(content.ID);
      
                    Guid id = content.ID;
                    string headline   = newsItem.GetMetaData("HeadLine").ToString();
                    string thumbnail = newsItem.GetMetaData("Thumbnail").ToString();
                    string url = content.Url;
                    string url2 = content.UrlWithExtension;
                    string summary = newsItem.GetMetaData("Summary").ToString();
                    string body = content.Content.ToString();
                    string date   = newsItem.GetMetaData("Publication_Date").ToString();
      
                    news.Add(new RotatorNews()
                    {
                        ID = id,
                        HeadLine = headline,
                        Thumbnail = thumbnail,
                        Url = url,
                        Url2 = url2,
                        Summary = summary,
                        Body = body,
                        Date = date
                    }
                    );
      
        
                }
      
                this.Rotator1.DataSource = news;
                this.Rotator1.DataBind();


    Thanks,
    Fadi

     
Register for webinar
3 posts, 1 answered