ShowUsYour<Blog>

Irregular expressions regularly

ContextMenu - code complete!

I finished off some of the rough edges of ContextMenu tonight and have to say that I am quite impressed with the result. Although, I have to say that this will be the last control that I build using VB until Whidbey; the sad part of this story is that after spending 5 or 6 hours working on it I am unable to get VBCommenter to successfully emit Xml based on my code comments.

Here is a picture of a datagrid with a ContextMenuLink control embedded in the first column. This allows me to have context menu's with specific data for each row in a grid:

ContextMenu bound inside a datagrid.

I'm uploading the control (+ source) to GotDotNet tonight so, hopefully it will appear online in a couple of days. Obviously the .chm will not be present for this release :( I'm planning to produce a Html tutorial for the control later this week.

Posted: Feb 15 2004, 07:18 PM by digory | with 10 comment(s)
Filed under: ,

Comments

TrackBack said:

Blog:3;Dev:6;Rant:4;RS:2;SQL:3;WTF:6;WILY:4;Writing:1;XML:4
Line of the day:
# February 15, 2004 12:04 AM

Jim said:

Where is the link for the download?
# February 16, 2004 1:47 PM

mosius said:

can i use this code with VS 2002?
# April 13, 2004 12:34 PM

rstyer said:

Thanks for posting your ContextMenu. I've found it very useful. Keep up the good work.
I'm fairly new to ASP.NET and controls and I'm trying to convert a Windows desktop app to run as a ASP.NET application. The desktop app has two connected menu items and uses a checkmark to indicate the previously selected option. I was looking for a way to indicate the last menu item selected. Can I use a CSSStyle on the context menu item to change colors, font style etc? Is it possible to set the CSSStyle from the code-behind side for ContextMenu?

Thanks for any help you can give.

rstyer
# April 22, 2004 9:11 AM

sneha said:

Is it possible to add dyanamic menu's using this?

# December 3, 2007 11:10 AM

laith said:

hello there im almost done with my graduation project and i want the context menu srip just to open when the cell is right clicked and the cell has to be selected !!!!!!! in another words i want to select the cell first and then open the context menu strip when the right click pressed on the cell,,becuase i want to get the cell value and it has to be selected !!!

# May 15, 2009 1:39 PM

Leila said:

Sorry. The real hero is always a hero by mistake; he dreams of being an honest coward like everybody else. Help me! Could you help me find sites on the: Baby girl crib bedding. I found only this - <a href="baby-bedding.net/.../">girl baby bedding</a>. It reduces you attempt who will be unblinded, bedding. This has carried tasks demolish fascinating guests where not a dna permission was addressed from the minimum, bedding. With best wishes :o, Leila from Burundi.

# March 24, 2010 6:00 PM

bespoke_web_developer said:

A good way to implement context menus in datagridviews are as follow:

blog.bitlinkit.com/.../Right-Click-and-Auto-Row-Select-with-a-ContextMenuStrip.aspx

# May 16, 2010 1:11 PM

Home Security Monitoring comparison said:

Hello my friend! I wish to say that this post is amazing, nice written and include almost all significant infos. I'd like to see more posts like this .

<b><a href="eeau.net/home-security-tips-and-hints

">Home Security Monitoring

<a/><b/>

# April 2, 2011 7:37 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)