datagridview help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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");

--
Regards,
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
 
Back
Top