Click here to Skip to main content
15,916,693 members
Home / Discussions / C#
   

C#

 
GeneralRe: Assembly Language and C# Pin
Daniel Turini22-Aug-05 8:06
Daniel Turini22-Aug-05 8:06 
GeneralRe: Assembly Language and C# Pin
leppie22-Aug-05 23:56
leppie22-Aug-05 23:56 
GeneralODBC: SqlGetDiagRec - help needed Pin
Shahrazad22-Aug-05 7:31
sussShahrazad22-Aug-05 7:31 
GeneralRe: ODBC: SqlGetDiagRec - help needed Pin
Shahrazad22-Aug-05 23:40
sussShahrazad22-Aug-05 23:40 
GeneralWMI Pin
Mridang Agarwalla22-Aug-05 7:24
Mridang Agarwalla22-Aug-05 7:24 
GeneralRe: WMI Pin
Daniel Turini22-Aug-05 8:06
Daniel Turini22-Aug-05 8:06 
GeneralRe: WMI Pin
leppie23-Aug-05 0:03
leppie23-Aug-05 0:03 
GeneralManaged DirectX: load large Bitmap Pin
silka_c#22-Aug-05 7:09
silka_c#22-Aug-05 7:09 
GeneralRe: Managed DirectX: load large Bitmap Pin
Daniel Turini22-Aug-05 7:41
Daniel Turini22-Aug-05 7:41 
GeneralRe: Managed DirectX: load large Bitmap Pin
silka_c#22-Aug-05 22:39
silka_c#22-Aug-05 22:39 
GeneralRe: Managed DirectX: load large Bitmap Pin
Daniel Turini22-Aug-05 23:17
Daniel Turini22-Aug-05 23:17 
GeneralRe: Managed DirectX: load large Bitmap Pin
silka_c#22-Aug-05 23:43
silka_c#22-Aug-05 23:43 
GeneralRe: Managed DirectX: load large Bitmap Pin
Daniel Turini23-Aug-05 3:52
Daniel Turini23-Aug-05 3:52 
QuestionRe: Managed DirectX: load large Bitmap Pin
silka_c#29-Aug-05 5:24
silka_c#29-Aug-05 5:24 
GeneralDataGrid Row Highlight Pin
econner22-Aug-05 6:40
econner22-Aug-05 6:40 
GeneralRe: DataGrid Row Highlight Pin
Robert Rohde22-Aug-05 8:42
Robert Rohde22-Aug-05 8:42 
First of all: Please don't post two question with (nearly) the same topic.

Now to your question:
It is possible but you'll have to invest a bit of work. Create a class and inherit from DataGridTextBoxColumn. Override the Edit function and do nothing (do not call the base implementation). This will prevent the TextBox being shown and the Click event will reach the grid. If you also have a boolean column you will have to do the same with the DataGridCheckBoxColumn.

Finally you will have to make your own DataGridTableStyle so that the grid uses your new classes.
GeneralRe: DataGrid Row Highlight Pin
rudy.net22-Aug-05 17:45
rudy.net22-Aug-05 17:45 
GeneralDataGrid/Cells read only Pin
econner22-Aug-05 6:37
econner22-Aug-05 6:37 
GeneralCom+ Problem Pin
webhay22-Aug-05 6:33
webhay22-Aug-05 6:33 
Generalformatting text Pin
samoore22-Aug-05 6:07
samoore22-Aug-05 6:07 
GeneralRe: formatting text Pin
Guffa22-Aug-05 6:20
Guffa22-Aug-05 6:20 
GeneralRe: formatting text Pin
samoore22-Aug-05 6:28
samoore22-Aug-05 6:28 
GeneralRe: formatting text Pin
Robert Rohde22-Aug-05 8:47
Robert Rohde22-Aug-05 8:47 
GeneralRe: formatting text Pin
Christian Graus22-Aug-05 10:59
protectorChristian Graus22-Aug-05 10:59 
GeneralRe: formatting text Pin
samoore22-Aug-05 11:34
samoore22-Aug-05 11:34 

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.