Click here to Skip to main content
15,887,353 members
Home / Discussions / C#
   

C#

 
AnswerRe: One button from the toolstrip bar not updating checkboxes from the datagrid columns Pin
OriginalGriff7-Jan-16 23:16
mveOriginalGriff7-Jan-16 23:16 
GeneralRe: One button from the toolstrip bar not updating checkboxes from the datagrid columns Pin
Member 114494478-Jan-16 1:08
Member 114494478-Jan-16 1:08 
GeneralRe: One button from the toolstrip bar not updating checkboxes from the datagrid columns Pin
OriginalGriff8-Jan-16 1:22
mveOriginalGriff8-Jan-16 1:22 
GeneralRe: One button from the toolstrip bar not updating checkboxes from the datagrid columns Pin
Member 114494478-Jan-16 1:51
Member 114494478-Jan-16 1:51 
GeneralRe: One button from the toolstrip bar not updating checkboxes from the datagrid columns Pin
Richard MacCutchan8-Jan-16 2:53
mveRichard MacCutchan8-Jan-16 2:53 
GeneralRe: One button from the toolstrip bar not updating checkboxes from the datagrid columns Pin
Dave Kreskowiak8-Jan-16 3:58
mveDave Kreskowiak8-Jan-16 3:58 
SuggestionRe: One button from the toolstrip bar not updating checkboxes from the datagrid columns Pin
Richard Deeming8-Jan-16 2:08
mveRichard Deeming8-Jan-16 2:08 
GeneralRe: One button from the toolstrip bar not updating checkboxes from the datagrid columns Pin
Member 114494478-Jan-16 6:04
Member 114494478-Jan-16 6:04 
I´ve made all the changes according to your advices and it remains with the same error. But I solved this issue by using preformclick event in the button not working to triger the button click event that works, and setting this invisible in the datagrid (not by the invisible property but rather by managing the colors in the design).

Regarding your observation concerning the expression:
C#
if (grid_lic.CurrentRow.Cells[3].Value.ToString() != "" || grid_lic.CurrentRow.Cells[3].Value.ToString() == "True")
   bloqueador = 1;
else
   bloqueador = 0;

it should be an '&' instead of a '||', the same is to say:
C#
if(grid_lic.CurrentRow.Cells[3].Value.ToString() == "True")
   bloqueador = 1;
else
   bloqueador = 0;

which is equivalent to:
C#
if(grid_lic.CurrentRow.Cells[3].Value.ToString() == "False" ||grid_lic.CurrentRow.Cells[3].Value.ToString() == "" )
   bloqueador = 0;
else
   bloqueador = 1;

since cell[3] or is empty or has the value 'true' or 'false'.
Questionparse xml Pin
MaheshSharma7-Jan-16 16:33
MaheshSharma7-Jan-16 16:33 
SuggestionRe: parse xml Pin
dan!sh 7-Jan-16 16:48
professional dan!sh 7-Jan-16 16:48 
AnswerRe: parse xml Pin
Richard MacCutchan7-Jan-16 22:10
mveRichard MacCutchan7-Jan-16 22:10 
AnswerRe: parse xml Pin
BillWoodruff8-Jan-16 0:49
professionalBillWoodruff8-Jan-16 0:49 
QuestionC# swf decompiler Pin
Member 122071957-Jan-16 5:31
Member 122071957-Jan-16 5:31 
AnswerRe: C# swf decompiler Pin
OriginalGriff7-Jan-16 5:47
mveOriginalGriff7-Jan-16 5:47 
Questionstop a task Pin
caradri6-Jan-16 23:34
caradri6-Jan-16 23:34 
AnswerRe: stop a task Pin
Simon_Whale6-Jan-16 23:42
Simon_Whale6-Jan-16 23:42 
AnswerRe: stop a task Pin
Pete O'Hanlon7-Jan-16 0:04
mvePete O'Hanlon7-Jan-16 0:04 
GeneralRe: stop a task Pin
caradri7-Jan-16 1:42
caradri7-Jan-16 1:42 
GeneralRe: stop a task Pin
Pete O'Hanlon7-Jan-16 1:50
mvePete O'Hanlon7-Jan-16 1:50 
GeneralRe: stop a task Pin
caradri7-Jan-16 3:42
caradri7-Jan-16 3:42 
GeneralRe: stop a task Pin
Dave Kreskowiak7-Jan-16 3:46
mveDave Kreskowiak7-Jan-16 3:46 
QuestionWPF double click edit listview item label Pin
Ranjith Kumar5-Jan-16 20:30
Ranjith Kumar5-Jan-16 20:30 
AnswerRe: WPF double click edit listview item label Pin
dan!sh 6-Jan-16 0:32
professional dan!sh 6-Jan-16 0:32 
QuestionWay the open Windows freeze when I go back to open Windows Pin
Member 107434224-Jan-16 16:33
Member 107434224-Jan-16 16:33 
AnswerRe: Way the open Windows freeze when I go back to open Windows Pin
Dave Kreskowiak4-Jan-16 18:09
mveDave Kreskowiak4-Jan-16 18:09 

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.