Solved

smkmenu

Posted on 2004-10-25
312 Views
Last Modified: 2012-06-27
Hi,

Has anyone here used the skmmenu assembly for asp.net webmenus?

If you have, how do i make the mouseover indicator to show as the "hand" rather than a "pointer"

2) asp.net doesn't seem to like the <selectedmenustyle> tag ------ e.g
      <SelectedMenuItemStyle BackColor="#FFC080"></SelectedMenuItemStyle>
 how do i fix this?

the documentation doesn't make sense to me.
thanks in advance

sirreadalot

0
Question by:SirReadAlot
    20 Comments
     
    LVL 17

    Expert Comment

    by:AerosSaga
    You need to expose the mousecursor enumeration:
     The MouseCursor enumeration specifies the different cursors for the menu.
    public enum MouseCursor
    Remarks

    The Pointer option will only display a pointer cursor for clickable menu items.
    Members
    Member Name      Description
    Default      Default pointer or pointer controlled by CSS.
    Pointer      Pointer normally associated with links (usually a hand).
    Requirements

    Namespace: skmMenu

    Assembly: skmMenu (in skmMenu.dll)
    0
     
    LVL 17

    Expert Comment

    by:AerosSaga
    so in your codebehind in your page load type MyskmmenuControlName.MouseCurser = pointer

    Aeros
    0
     
    LVL 17

    Expert Comment

    by:AerosSaga
    or just set it in your aspx page

    <cc1:Menu id="Menu2" runat="server" Font-Names="Arial" Font-Size="Small" BackColor="#E0E0E0"
          Cursor="Pointer" ItemSpacing="0" ItemPadding="5">
          <SelectedMenuItemStyle BackColor="#FFC080"></SelectedMenuItemStyle>
    </cc1:Menu>
    0
     

    Author Comment

    by:SirReadAlot
    what about this tag that keep being highligted  <SelectedMenuItemStyle BackColor="#FFC080"></SelectedMenuItemStyle>
    0
     
    LVL 17

    Expert Comment

    by:AerosSaga
    change it to this

    <SelectedMenuItemStyle BackColor="#E0E0E0"></SelectedMenuItemStyle>
    0
     

    Author Comment

    by:SirReadAlot
    didn't make a difference
    this is what i have---------------
    <table height="30" cellSpacing="0" cellPadding="0" width="100%" bgColor="#000000">
    <tr>
    <td id="header" vAlign="middle">
    <skm:menu id="Menu1" runat="server" layout="Horizontal" menufadedelay="1" Cursor="Pointer"      HighlightTopMenu="True" Width="312px">
    <UnselectedMenuItemStyle Font-Bold="True" BorderWidth="1px" BorderStyle="Solid" BorderColor="#404040" width="100px"></UnselectedMenuItemStyle>
    <SelectedMenuItemStyle Font-Bold="True" BorderWidth="1px" ForeColor="White" BorderStyle="Solid" BorderColor="#404040"
    Width="100px" BackColor="#E0E0E0"></SelectedMenuItemStyle>
    </skm:menu></td>
    </tr>
    </table>

    0
     
    LVL 17

    Expert Comment

    by:AerosSaga
    try
    HighlightTopMenu="false"
    0
     

    Author Comment

    by:SirReadAlot
    yeah, tried that as well. I think its a bug anfd the skm people are not even answering my questions.

    0
     
    LVL 17

    Expert Comment

    by:AerosSaga
    so you want no highlight at all and a hand right?
    0
     

    Author Comment

    by:SirReadAlot
    yeap, i have sorted out the hand problem.  in the xml i did not specify a url e.g <url>admin.aspx</url>

    and yes i don't want this to be highlighted <SelectedMenuItemStyle>
    0
     
    LVL 17

    Expert Comment

    by:AerosSaga
    I don't understand why you can't set the hex the same color as your page background for each style to keep it from doing this
    0
     

    Author Comment

    by:SirReadAlot
    hang on, i will do that
    0
     

    Author Comment

    by:SirReadAlot
    <SelectedMenuItemStyle Font-Bold="True" BorderWidth="1px" ForeColor="White" BorderStyle="Solid" BorderColor="#E0E0E0"
    Width="100px" BackColor="#E0E0E0"></SelectedMenuItemStyle>
    0
     

    Author Comment

    by:SirReadAlot
    page background??? pls explain
    0
     
    LVL 17

    Accepted Solution

    by:
    If you set the highlight color of themenu to the same color as the background would it not appear as if it is not highlighting?

    0
     

    Author Comment

    by:SirReadAlot
    no, that not what i ment. I mean  in the actually asp.net where all the codes go into asp.net highlights this tag <SelectedMenuItemStyle> with read lines.

    its na eye saw, it doesnt harm the codes, am just wondering why??/


    0
     
    LVL 17

    Expert Comment

    by:AerosSaga
    oh, geez man why worry about such if it works then forget about it.
    0
     

    Author Comment

    by:SirReadAlot
    I guess so, But am not in charge of the dept, i need to answer ther questions.

    I guess i will leave it at that.


    thanks for your  patience
    0
     
    LVL 17

    Expert Comment

    by:AerosSaga
    You would have to ask the controls developer why intellisense is marking the tag
    0
     

    Author Comment

    by:SirReadAlot
    i have, since yesterday, but no replies
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
    User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    This video Micro Tutorial is the second in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles a…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    860 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now