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

I can't see the childs!

5 Answers 50 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Stavros
Top achievements
Rank 1
Stavros asked on 13 Oct 2008, 01:11 PM
I have tried every possible way and every possible attribute - I even write the childs by hand - but I have not managed yet to see any child at all!
Any ideas on what is going wrong?
Thank you.

5 Answers, 1 is accepted

Sort by
0
-DJ-
Top achievements
Rank 1
answered on 13 Oct 2008, 01:43 PM
Hi Stavros,

Are you getting any javascript errors?
What skin are you using?
Do you have some code you could paste here?

Regards,
-DJ-
0
Yana
Telerik team
answered on 13 Oct 2008, 01:43 PM
Hello Stavros,

We are not able to help you unless you provide us with a sample code and/or a more detailed explanation.

Regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Stavros
Top achievements
Rank 1
answered on 14 Oct 2008, 07:44 AM
Ok.Here's some code.

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="AjaxMasterPage.master.cs" Inherits="AjaxMasterPage" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!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">
<head runat="server">
    <title>Aspis Real Estate</title>
    <link href="~/StyleSheet.css" rel="Stylesheet" type="text/css" />
    <link href="Red/Menu.Red.css" rel="stylesheet" type="text/css" />
    <asp:ContentPlaceHolder id="head" runat="server">
    </asp:ContentPlaceHolder>
    <style type="text/css">


.RadMenu_Default
{
    border: 1px solid #010101;
    border-bottom-width: 0;
    border-top-color: #383838;
    background: #444 url(mvwres://Telerik.Web.UI, Version=2008.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Default.Menu.MenuBackground.gif) repeat-x top left;
    text-align: left;
}

.RadMenu
{
    white-space:nowrap;
    float:left;
    position:relative;
}


.RadMenu ul.rmRootGroup
{
    display:block;
}

.RadMenu ul.rmHorizontal
{
    margin:0;
    padding:0;
    display:none;
    position:relative;
    left:0;
    float:left;
}

.RadMenu_Default .rmHorizontal .rmItem { border-right: 1px solid #353535; padding-bottom:1px; }

.RadMenu .rmHorizontal .rmItem
{
    clear:none;
}

.RadMenu .rmItem
{
    float:left;
    position:relative;
    list-style-image: none;
    list-style-position:outside;
    list-style:none;    
}

.RadMenu_Default .rmLink
{
    line-height: 24px;
    text-decoration: none;
    color: #fff;
}

.RadMenu .rmLink
{
    width:auto;
}

.RadMenu_Default .rmText
{
    padding: 3px 20px 5px;
}

.RadMenu .rmText
{
    display:block;
}

.RadMenu_Default .rmHorizontal .rmLast { border-right: 0; }

        .style1
        {
            text-decoration: none;
            cursor: default;
            display: block;
        }
    </style>
    
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="ScriptManager1" runat="server"
        EnableTheming="True">
    </telerik:RadScriptManager>
    
    <div class="logo">
        <img src="Images/logo aspis properties_transparent.gif" />
    </div>
    
    <div class="banner">
        <asp:AdRotator ID="Ads" runat="server" AdvertisementFile="MainAds.xml" Target="_blank" />
    </div>
    
    
    <div class="content">
        
        
        <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
        
        </asp:ContentPlaceHolder>
    </div>
    
    <telerik:RadMenu ID="RadMenu1" runat="server"
        style="position:absolute; top: 125px; left: 232px; width:958px;"
        Skin="Red" EnableEmbeddedSkins="False">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
        <Items>
            <telerik:RadMenuItem runat="server" Text="Αρχική"
                NavigateUrl="~/AjaxDefault.aspx">
            </telerik:RadMenuItem>
            <telerik:RadMenuItem runat="server" Text="Καταστήματα">
            </telerik:RadMenuItem>
            <telerik:RadMenuItem runat="server" Text="Διαχείρηση">
                <Items>
                    <telerik:RadMenuItem runat="server" Text="Διαχείρηση Ακινήτων">
                        <GroupSettings ExpandDirection="Down" Flow="Vertical" />
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" Text="Διαχείρηση Κτιρίων">
                        <GroupSettings ExpandDirection="Down" Flow="Vertical" />
                    </telerik:RadMenuItem>
                </Items>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem runat="server" Text="Δάνεια">
            </telerik:RadMenuItem>
            <telerik:RadMenuItem runat="server" Text="Καριέρα">
            </telerik:RadMenuItem>
            <telerik:RadMenuItem runat="server" Text="Σεμινάρια">
            </telerik:RadMenuItem>
            <telerik:RadMenuItem runat="server" Text="Franchise">
            </telerik:RadMenuItem>
            <telerik:RadMenuItem runat="server" Text="Προσφορές Προμηθευτών">
            </telerik:RadMenuItem>
            <telerik:RadMenuItem runat="server" Text="Επικοινωνία"  width="137px"
                CssClass="specialButton">
            </telerik:RadMenuItem>
        </Items>
    </telerik:RadMenu>
    
    
    </form>
</body>
</html>

0
Yana
Telerik team
answered on 14 Oct 2008, 11:38 AM
Hi Stavros,

The provided code works as expected at our side. Could you please send us Menu.Red.css file and the images for the skin? Thanks

Regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Stavros
Top achievements
Rank 1
answered on 15 Oct 2008, 07:39 AM
The problem is solved!
It was a missing line in the web.config file :

      <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
Tags
Menu
Asked by
Stavros
Top achievements
Rank 1
Answers by
-DJ-
Top achievements
Rank 1
Yana
Telerik team
Stavros
Top achievements
Rank 1
Share this question
or