Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

smkmenu

Posted on 2004-10-25
20
Medium Priority
?
318 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
Comment
Question by:SirReadAlot
  • 10
  • 10
20 Comments
 
LVL 17

Expert Comment

by:AerosSaga
ID: 12405321
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
ID: 12405325
so in your codebehind in your page load type MyskmmenuControlName.MouseCurser = pointer

Aeros
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 12405356
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

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

Expert Comment

by:AerosSaga
ID: 12409830
change it to this

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

Author Comment

by:SirReadAlot
ID: 12410010
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
ID: 12410042
try
HighlightTopMenu="false"
0
 

Author Comment

by:SirReadAlot
ID: 12410067
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
ID: 12410072
so you want no highlight at all and a hand right?
0
 

Author Comment

by:SirReadAlot
ID: 12410103
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
ID: 12410117
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
ID: 12410137
hang on, i will do that
0
 

Author Comment

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

Author Comment

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

Accepted Solution

by:
AerosSaga earned 1600 total points
ID: 12410631
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
ID: 12410837
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
ID: 12410902
oh, geez man why worry about such if it works then forget about it.
0
 

Author Comment

by:SirReadAlot
ID: 12410960
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
ID: 12410976
You would have to ask the controls developer why intellisense is marking the tag
0
 

Author Comment

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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

916 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