in

ASP.NET Weblogs

This Blog

Syndication

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.

Published Feb 15 2004, 07:18 PM by digory
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
 

Darren Neimke said:

February 17, 2004 5:00 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

Leave a Comment

(required)  
(optional)
(required)  
Add