|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
datagridview helpi've used .net 2.0 datagrid view control/..
i want to show a dropdowm menu whenever i doubleclick a row on my grid.. how do I achieve it...any good samples You should post this in the datagrid newsgroup. Anyway, essentially you will
need to handle the click event and first create a drop down control. Populate the controls collection of the e argument from the event handler with the new drop down control. Rough code? if(e.items.cells.count > 0) e.items.cells[0].controls.add(new dropdownlist("hello","world"); -- Show quoteHide quoteRegards, Alvin Bruney ------------------------------------------------------ Shameless author plug Excel Services for .NET is coming... OWC Black book on Amazon and www.lulu.com/owc Professional VSTO 2005 - Wrox/Wiley "AVL" <A**@discussions.microsoft.com> wrote in message news:902F0CC1-829D-4494-9D6F-DE813BC8B8C4@microsoft.com... > i've used .net 2.0 datagrid view control/.. > > i want to show a dropdowm menu whenever i doubleclick a row on my grid.. > how do I achieve it...any good samples
Other interesting topics
Learning & Frustration.
Most popular object persistence framework Monitor printers Using cacheing?? custom serialization..need help Merging Visual Studio & SDK Help Concurrency violation: the UpdateCommand affected 0 of the expecte Right Click Context Menu of a C# windows application not working o DoEvents in c#.net need xml help |
|||||||||||||||||||||||