Click here to Skip to main content
15,888,968 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How can I set my SQL stored procedure variables through WPF textboxs? Pin
Magerager3-Mar-17 12:29
Magerager3-Mar-17 12:29 
QuestionJavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Kevin Marois2-Mar-17 10:35
professionalKevin Marois2-Mar-17 10:35 
SuggestionRe: JavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Richard Deeming2-Mar-17 10:49
mveRichard Deeming2-Mar-17 10:49 
GeneralRe: JavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Kevin Marois2-Mar-17 10:51
professionalKevin Marois2-Mar-17 10:51 
GeneralRe: JavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Kevin Marois2-Mar-17 10:52
professionalKevin Marois2-Mar-17 10:52 
GeneralRe: JavaScript Error - Internet Explorer - Object doesn't support property or method 'indexOf' Pin
Richard Deeming3-Mar-17 2:32
mveRichard Deeming3-Mar-17 2:32 
QuestionJQuery Not Found Pin
Kevin Marois2-Mar-17 8:25
professionalKevin Marois2-Mar-17 8:25 
AnswerRe: JQuery Not Found Pin
Sander Rossel2-Mar-17 8:37
professionalSander Rossel2-Mar-17 8:37 
GeneralRe: JQuery Not Found Pin
Kevin Marois2-Mar-17 10:02
professionalKevin Marois2-Mar-17 10:02 
GeneralRe: JQuery Not Found Pin
Sander Rossel2-Mar-17 10:16
professionalSander Rossel2-Mar-17 10:16 
GeneralRe: JQuery Not Found Pin
Kevin Marois2-Mar-17 10:29
professionalKevin Marois2-Mar-17 10:29 
GeneralRe: JQuery Not Found Pin
Sander Rossel2-Mar-17 10:32
professionalSander Rossel2-Mar-17 10:32 
AnswerRe: JQuery Not Found Pin
ZurdoDev2-Mar-17 10:16
professionalZurdoDev2-Mar-17 10:16 
GeneralRe: JQuery Not Found Pin
Kevin Marois2-Mar-17 10:16
professionalKevin Marois2-Mar-17 10:16 
GeneralRe: JQuery Not Found Pin
ZurdoDev2-Mar-17 10:18
professionalZurdoDev2-Mar-17 10:18 
GeneralRe: JQuery Not Found Pin
Kevin Marois2-Mar-17 10:28
professionalKevin Marois2-Mar-17 10:28 
GeneralRe: JQuery Not Found Pin
ZurdoDev2-Mar-17 10:29
professionalZurdoDev2-Mar-17 10:29 
QuestionMy First JavaScript Code - Exception Pin
Kevin Marois2-Mar-17 7:18
professionalKevin Marois2-Mar-17 7:18 
AnswerRe: My First JavaScript Code - Exception Pin
Sander Rossel2-Mar-17 8:03
professionalSander Rossel2-Mar-17 8:03 
GeneralRe: My First JavaScript Code - Exception Pin
Kevin Marois2-Mar-17 8:14
professionalKevin Marois2-Mar-17 8:14 
GeneralRe: My First JavaScript Code - Exception Pin
Afzaal Ahmad Zeeshan2-Mar-17 8:21
professionalAfzaal Ahmad Zeeshan2-Mar-17 8:21 
Questionwhite Popup show while calling wpf app(made on win-07) by Thirdparty app(Made on Xp service pack -3) on windows 7 Pin
Member 1227019516-Feb-17 19:51
Member 1227019516-Feb-17 19:51 
AnswerRe: white Popup show while calling wpf app(made on win-07) by Thirdparty app(Made on Xp service pack -3) on windows 7 Pin
Richard MacCutchan16-Feb-17 21:42
mveRichard MacCutchan16-Feb-17 21:42 
QuestionList of CheckBoxes Localization not working Pin
Member 1300292515-Feb-17 5:33
Member 1300292515-Feb-17 5:33 
Questionstill shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA7-Feb-17 21:14
MrKBA7-Feb-17 21:14 
Hi,
I included DialogService in my Window to call other view which contains User input values
What I need is to prevent closing this dialog until input are validated.
_roleViewModel = new Role_ViewModel(eTypeOperation);
            var createCommand = new UICommand
            {
                Id = MessageBoxResult.OK,
                Caption = Properties.Resources.CstOk,
                IsCancel = false,
                IsDefault = true,
                Command = new DelegateCommand(CreateRole, CanCreateRole)
            };
            var cancelCommand = new UICommand
            {
                Id = MessageBoxResult.Cancel,
                Caption = Properties.Resources.CstCancel,
                IsCancel = true,
                IsDefault = false,
            };
            RoleService.ShowDialog(new List<UICommand> { createCommand, cancelCommand }, Properties.Resources.CstNewRole, _roleViewModel);

private IDialogService RoleService
        {
            get { return GetService<IDialogService>("RoleServiceDialog"); }
        }

the CanCreateRole control the state of Button "OK" regarding input user But What I need is to :
When click OK button , we should check data (user input) if it is ok we return and close the DialogService otherwise we should display messagebox and stay on this DialogService (don't close) until press "Cancel"

Thank you

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.