CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: NewsGroup Date Entered: 8/11/2006 2:45:32 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 49 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
hawaythelads
Asp.Net User
Menu with Static Display and Control Adapters8/11/2006 2:45:32 PM

0

Hi,

I've been using the CSS Control Adapters with an ASP Menu which is set to display static - all menu items and levels displayed.  However the menu is currently displaying like a dynamic menu with only the root item displayed in the menu.  Can the CSS Control Adapters be used with static menus (if so what am I doing wrong?) or do I need to disable them.  Would really like to use the adapters as I prefer to be css driven rather than using tables.  I have pasted in my master page code for reference.  Can anyone help please?

Cheers

Andrew

FireTest.Master

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

<!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" dir="ltr">
<head runat="server">
    <title>- Protective Coatings -  Database</title>
   <link href="App_Themes/mpyapftdb_Base/mpyapftdb_style.css" rel="stylesheet" type="text/css" />
   <link href="
http://www.international.intra/style/MPC_STYLE.css" type="text/css" rel="StyleSheet" />
   <!--[if lt IE 7]>
       <link runat="server" rel="stylesheet" href="~/BrowserSpecificCSS/IEMenu6.css" type="text/css" ID="IEMenu6CSS" />
   <![endif]-->
   <!--[if gt IE 6]>
       <link runat="server" rel="stylesheet" href="~/BrowserSpecificCSS/IEMenu7.css" type="text/css" ID="IEMenu7CSS" />
   <![endif]-->
</head>
<body style="height:100;">
    <form id="form1" runat="server" method="post" enctype="multipart/form-data">
        <div id="HeaderNav">
      <div id="HeaderLogo">
       <img src="App_Themes/mpyapftdb_Base/coatings.gif" alt="International Paint Ltd - All Propellor and International Logos are Registered Trademarks"/>
   </div>
      <div id="BusinessUnitLogo">
       <img src="App_Themes/mpyapftdb_Base/bg_wave.gif" alt=""/>
      </div>
     
     </div>
     <div id="LeftNavContainer">
   <div id="LeftNav">
        <p>
                        &nbsp;
                        <asp:Menu ID="Menu1" runat="server" DataSourceID="smdsSiteMap" DisappearAfter="0"
                            StaticDisplayLevels="10">
                        </asp:Menu>
               <asp:SiteMapDataSource ID="smdsSiteMap" runat="server" />
        </p>
       </div>
       <div id="LeftNavBase">
       </div>
      </div>
      <div id="PageContainer">
                <div>
                    <asp:SiteMapPath ID="smpCurrentPosition" runat="server" CssClass="content"></asp:SiteMapPath>
                    &nbsp;<asp:contentplaceholder id="Main" runat="server">
                    </asp:contentplaceholder>
                </div>
            </div>
        </form>
    </body>
</html>

joeaudette
Asp.Net User
Re: Menu with Static Display and Control Adapters8/11/2006 3:40:25 PM

0

I think the setting for static is not used with the css adapter but since it is the css that is hiding things you can modify the css to make it show everything.

There are other things that also don't work with the css adapter like if you want to us the menu for postback instead of just links.

Hope it helps,

Joe

http://www.joeaudette.com
http://www.mojoportal.com
mojoPortal is an Open Source CMS/Portal featuring WebParts and supporting MSSQL, MySQL, PostgreSQL, SQLite, and Firebird Sql
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:

Web:
Menu with Static Display and Control Adapters - ASP.NET Forums I've been using the CSS Control Adapters with an ASP Menu which is set to display static - all menu items and levels displayed. ...
CSS Friendly Control Adapters - ASP.NET Forums Horizontal Menu - some clients seeing space between menu items ... Menu with Static Display and Control Adapters by hawaythelads. No Status ...
CSS Friendly Control Adapters - Discussions Merged methods so that dynamic and static display levels work again ... Menu menu = Control as Menu; //added for static and dynamic levels ...
CodeProject: Using a Control Adapter to Properly Display PNG ... Oct 25, 2006 ... Internet Explorer 5.5 and 6 cannot display transparent PNG images using the standard IMG tag. Here's a solution that uses a control adapter to output different HTML when the image to display ... Static & Panel Controls ...
CSS Friendly Control Adapters - Discussions Menu1_0 { background-color:white;visibility:hidden;display:none .... Setting the position to 'static' in Menu.css seems to fix the display ...

Variable width of horizontal top level menu elements ... The static menu part also seems to be set to 100px width in the skin. ... contain OFTEN CHANGED rules used when the Menu control adapter is enabled. .... AspNet-Menu-Horizontal ul.AspNet-Menu li span { display: inline; ...
GridView PreRender - microsoft_downloads.css_friendly_control_adapters CodeSnip: How to Display Sum Total in the Footer of the GridView ... Lastly, add the following lines to ... menu with static display and control adapters ...






bug found + fix

ie 7 problem with css

css adaptors

trying to use adapter to modify validationsummary to use span instead of div

bug fix for webcontroladapterextender.cs

position of buttons, panel....etc keeps going out of the original design when the ie browser gets minimized?

excluding control from css adapter

adapted menu rendering flat

populating treeview from sitemap based on selected node

the emperors new clothes

slowness how to remove

css adapter menu control problem

two menus on the page- with css adapters and without

treeview adapter - how do i show lines ?

loginstatus not working in firefox 2 or opera 9...

problem on menu control example?

cssadapters how to start??

how to make microsoft filter effect work in mozilla

[beta3] treeview bug with enhanced theme ?

treeview adapter problem

remove right arrow on horizontal menu

menu and ie7

need wider width on second level menu

css friendly treeview ignoring treenode renderpretext and renderposttext

changepasswordadapter writefinalvalidators

css control adapters sucks ... what is going on?

menu control...am i missing the point here?

ie6 prettymenu flickering problem

.aspnet-treeview-parentselected doesn't get selected

compilation error in menuadapter.cs

   
  Privacy | Contact Us
All Times Are GMT