I can't see the childs!

6 posts, 0 answers
  1. Stavros
    Stavros avatar
    89 posts
    Member since:
    Sep 2008

    Posted 13 Oct 2008 Link to this post

    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.
  2. -DJ-
    -DJ- avatar
    263 posts
    Member since:
    Oct 2004

    Posted 13 Oct 2008 Link to this post

    Hi Stavros,

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

    Regards,
    -DJ-
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 13 Oct 2008 Link to this post

    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.
  5. Stavros
    Stavros avatar
    89 posts
    Member since:
    Sep 2008

    Posted 14 Oct 2008 Link to this post

    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>

  6. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 14 Oct 2008 Link to this post

    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.
  7. Stavros
    Stavros avatar
    89 posts
    Member since:
    Sep 2008

    Posted 15 Oct 2008 Link to this post

    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" />
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017