Click here to Skip to main content
15,907,392 members
Home / Discussions / C#
   

C#

 
GeneralRe: ExecuteScalar to cshtml view Pin
Dave Kreskowiak30-Jul-20 13:17
mveDave Kreskowiak30-Jul-20 13:17 
GeneralRe: ExecuteScalar to cshtml view Pin
Member 1490312930-Jul-20 13:26
Member 1490312930-Jul-20 13:26 
GeneralRe: ExecuteScalar to cshtml view Pin
Dave Kreskowiak30-Jul-20 17:10
mveDave Kreskowiak30-Jul-20 17:10 
GeneralRe: ExecuteScalar to cshtml view Pin
Gerry Schmitz31-Jul-20 7:40
mveGerry Schmitz31-Jul-20 7:40 
GeneralRe: ExecuteScalar to cshtml view Pin
Dave Kreskowiak31-Jul-20 7:54
mveDave Kreskowiak31-Jul-20 7:54 
GeneralRe: ExecuteScalar to cshtml view Pin
Gerry Schmitz31-Jul-20 12:58
mveGerry Schmitz31-Jul-20 12:58 
GeneralRe: ExecuteScalar to cshtml view Pin
Dave Kreskowiak31-Jul-20 14:01
mveDave Kreskowiak31-Jul-20 14:01 
SuggestionRe: ExecuteScalar to cshtml view Pin
Richard Deeming4-Aug-20 0:05
mveRichard Deeming4-Aug-20 0:05 
GeneralRe: ExecuteScalar to cshtml view Pin
Dave Kreskowiak4-Aug-20 4:01
mveDave Kreskowiak4-Aug-20 4:01 
QuestionHaving the image at the third second of a video Pin
Tec Zone30-Jul-20 6:11
Tec Zone30-Jul-20 6:11 
AnswerRe: Having the image at the third second of a video Pin
CHill6030-Jul-20 6:12
mveCHill6030-Jul-20 6:12 
AnswerRe: Having the image at the third second of a video Pin
jsc4230-Jul-20 6:25
professionaljsc4230-Jul-20 6:25 
AnswerRe: Having the image at the third second of a video Pin
Gerry Schmitz30-Jul-20 7:42
mveGerry Schmitz30-Jul-20 7:42 
QuestionHaving the image at the third second of a video Pin
Tec Zone30-Jul-20 6:11
Tec Zone30-Jul-20 6:11 
Questionanswer Pin
Member 1490198229-Jul-20 7:29
Member 1490198229-Jul-20 7:29 
AnswerRe: answer Pin
OriginalGriff29-Jul-20 7:45
mveOriginalGriff29-Jul-20 7:45 
AnswerRe: answer Pin
Gerry Schmitz29-Jul-20 10:01
mveGerry Schmitz29-Jul-20 10:01 
GeneralRe: answer Pin
OriginalGriff29-Jul-20 10:12
mveOriginalGriff29-Jul-20 10:12 
GeneralRe: answer Pin
Gerry Schmitz29-Jul-20 22:47
mveGerry Schmitz29-Jul-20 22:47 
GeneralRe: answer Pin
Richard MacCutchan29-Jul-20 22:56
mveRichard MacCutchan29-Jul-20 22:56 
GeneralRe: answer Pin
Gerry Schmitz29-Jul-20 23:03
mveGerry Schmitz29-Jul-20 23:03 
AnswerRe: answer Pin
Dave Kreskowiak29-Jul-20 11:14
mveDave Kreskowiak29-Jul-20 11:14 
AnswerRe: answer Pin
Eddy Vluggen30-Jul-20 0:50
professionalEddy Vluggen30-Jul-20 0:50 
AnswerRe: answer Pin
jsc4230-Jul-20 6:10
professionaljsc4230-Jul-20 6:10 
QuestionUser Control function C# Pin
Ismael_199928-Jul-20 4:46
Ismael_199928-Jul-20 4:46 
I created a UserControl with 5 buttons: New, Edit, Delete, Save, Cancel. All buttons have functions associated to them, programable by the user. Normally the 3 first buttons are enabled and the 2 other are disabled. When the user clicks on New or Edit, the 3 first buttons become disabled and the 2 others, enabled. When the user clicks on Save, or Cancel, it returns to the original state. It's working fine, but there is an issue.
In an application, when the user clicks on the Save button, the program must first verify if the fields are all filled. If yes, OK. But if not, the function should do nothing. So, what I need is a way of, in the main program, test the fields and pass this information to the control. But I don't know how. I tried to create a funtion in the control type virtual and in the main program I tried to create the same function with override, but it didn't work. Can anyone help me?
Thanks.
Ismael

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.