Click here to Skip to main content
15,897,718 members
Home / Discussions / C#
   

C#

 
AnswerRe: XML documentation problem Pin
Super Lloyd18-Jun-06 4:53
Super Lloyd18-Jun-06 4:53 
QuestionProblem refactoring CollectionBase to Generics with Sort() Pin
LongRange.Shooter17-Jun-06 18:04
LongRange.Shooter17-Jun-06 18:04 
QuestionOpen file for jus reading Pin
keroed_edmond17-Jun-06 14:58
keroed_edmond17-Jun-06 14:58 
AnswerRe: Open file for jus reading Pin
Robert Rohde17-Jun-06 15:23
Robert Rohde17-Jun-06 15:23 
GeneralRe: Open file for jus reading Pin
keroed_edmond17-Jun-06 19:49
keroed_edmond17-Jun-06 19:49 
QuestionRegarding 70-536 & 70-528 Pin
student_rhr17-Jun-06 14:52
student_rhr17-Jun-06 14:52 
AnswerRe: Regarding 70-536 & 70-528 Pin
Steve Maier17-Jun-06 17:08
professionalSteve Maier17-Jun-06 17:08 
QuestiondataGridView - Select cell on right click Pin
shultas17-Jun-06 14:13
shultas17-Jun-06 14:13 
Hi everyone,

I've been playing with the dataGridView control in C# now for a couple of days, and I've got most all of the functionality that I wanted out of it. One thing I am not able to solve as of yet though I could use some help on. I have a contextMenuStrip associated with my dataGridView control. The way it is working now is that the user has to left click in the cell first (which selects it), and then they right click, it brings up the contextMenuStrip, which allows them to do a couple of things with the data in the cell. I am wondering if there is a way that the user can move the mouse to the cell, right click, have it select that cell automatically, and then the contextMenuStrip that appears will work on the contents of that cell they just right-clicked on. Also, I am wondering if there is a way to disable the contextMenuStrip if they are not in a cell? (Currently, they can click anywhere on the datagrid, even in empty space where there are no rows, and the menu strip will show up there ... I would like the menustrip to only show up when they right click inside of a cell that has text in it).

Thanks much in advance!
Question[Message Deleted] Pin
WCup17-Jun-06 13:22
WCup17-Jun-06 13:22 
AnswerRe: How to avoid :not all code paths return a value Pin
TheBeginner7717-Jun-06 13:37
TheBeginner7717-Jun-06 13:37 
AnswerRe: How to avoid :not all code paths return a value Pin
Christian Graus17-Jun-06 13:38
protectorChristian Graus17-Jun-06 13:38 
AnswerRe: [Message Deleted] Pin
Colin Angus Mackay17-Jun-06 23:02
Colin Angus Mackay17-Jun-06 23:02 
GeneralRe: [Message Deleted] Pin
Malcolm Smart18-Jun-06 0:15
Malcolm Smart18-Jun-06 0:15 
QuestionHow can i add strings to the columns of a dataGridView? [modified]....pls if someone knows.... Pin
TheBeginner7717-Jun-06 11:45
TheBeginner7717-Jun-06 11:45 
QuestionRe: How can i add strings to the columns of a dataGridView? [modified]....pls if someone knows.... Pin
TheBeginner7717-Jun-06 13:52
TheBeginner7717-Jun-06 13:52 
QuestionDelegate / Event Behaviour [modified] Pin
Malcolm Smart17-Jun-06 9:55
Malcolm Smart17-Jun-06 9:55 
QuestionRe: Delegate / Event Behaviour Pin
Jun Du17-Jun-06 10:55
Jun Du17-Jun-06 10:55 
AnswerRe: Delegate / Event Behaviour Pin
Malcolm Smart17-Jun-06 11:19
Malcolm Smart17-Jun-06 11:19 
AnswerRe: Delegate / Event Behaviour Pin
Robert Rohde17-Jun-06 11:00
Robert Rohde17-Jun-06 11:00 
GeneralRe: Delegate / Event Behaviour Pin
Malcolm Smart17-Jun-06 11:16
Malcolm Smart17-Jun-06 11:16 
GeneralRe: Delegate / Event Behaviour Pin
Malcolm Smart17-Jun-06 11:59
Malcolm Smart17-Jun-06 11:59 
GeneralRe: Delegate / Event Behaviour Pin
Robert Rohde17-Jun-06 13:29
Robert Rohde17-Jun-06 13:29 
GeneralRe: Delegate / Event Behaviour Pin
Malcolm Smart17-Jun-06 20:46
Malcolm Smart17-Jun-06 20:46 
AnswerRe: Delegate / Event Behaviour Pin
LongRange.Shooter17-Jun-06 18:15
LongRange.Shooter17-Jun-06 18:15 
GeneralRe: Delegate / Event Behaviour Pin
Malcolm Smart17-Jun-06 20:48
Malcolm Smart17-Jun-06 20:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.