Click here to Skip to main content
14,699,489 members
Home » Discussions » Silverlight / WPF
   

Silverlight / WPF

 
QuestionMy First JavaScript Code - Exception Pin
Kevin Marois2-Mar-17 8:18
professionalKevin Marois2-Mar-17 8:18 
AnswerRe: My First JavaScript Code - Exception Pin
Sander Rossel2-Mar-17 9:03
professionalSander Rossel2-Mar-17 9:03 
GeneralRe: My First JavaScript Code - Exception Pin
Kevin Marois2-Mar-17 9:14
professionalKevin Marois2-Mar-17 9:14 
GeneralRe: My First JavaScript Code - Exception Pin
Afzaal Ahmad Zeeshan2-Mar-17 9:21
mvaAfzaal Ahmad Zeeshan2-Mar-17 9: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 20:51
MemberMember 1227019516-Feb-17 20: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 22:42
mveRichard MacCutchan16-Feb-17 22:42 
QuestionList of CheckBoxes Localization not working Pin
Member 1300292515-Feb-17 6:33
MemberMember 1300292515-Feb-17 6:33 
Questionstill shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA7-Feb-17 22:14
MemberMrKBA7-Feb-17 22: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
AnswerRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming8-Feb-17 3:04
mveRichard Deeming8-Feb-17 3:04 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA8-Feb-17 22:20
MemberMrKBA8-Feb-17 22:20 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming8-Feb-17 22:53
mveRichard Deeming8-Feb-17 22:53 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA8-Feb-17 23:10
MemberMrKBA8-Feb-17 23:10 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming8-Feb-17 23:16
mveRichard Deeming8-Feb-17 23:16 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA9-Feb-17 0:47
MemberMrKBA9-Feb-17 0:47 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
Richard Deeming9-Feb-17 1:00
mveRichard Deeming9-Feb-17 1:00 
GeneralRe: still shown DialogService until error exists in user input and dont press Cancel Pin
MrKBA9-Feb-17 2:41
MemberMrKBA9-Feb-17 2:41 
QuestionWPF: DataGridCheckboxColumn when one checkbox is checked, check another checkbox in same row Pin
Mark McArdle6-Feb-17 4:04
MemberMark McArdle6-Feb-17 4:04 
AnswerRe: WPF: DataGridCheckboxColumn when one checkbox is checked, check another checkbox in same row Pin
Richard Deeming6-Feb-17 8:55
mveRichard Deeming6-Feb-17 8:55 
PraiseRe: WPF: DataGridCheckboxColumn when one checkbox is checked, check another checkbox in same row Pin
Mark McArdle7-Feb-17 3:07
MemberMark McArdle7-Feb-17 3:07 
QuestionStyle User Control In Another Assembly Pin
Kevin Marois2-Feb-17 7:54
professionalKevin Marois2-Feb-17 7:54 
AnswerRe: Style User Control In Another Assembly Pin
Pete O'Hanlon2-Feb-17 8:12
subeditorPete O'Hanlon2-Feb-17 8:12 
GeneralRe: Style User Control In Another Assembly Pin
Kevin Marois2-Feb-17 8:13
professionalKevin Marois2-Feb-17 8:13 
GeneralRe: Style User Control In Another Assembly Pin
Kevin Marois2-Feb-17 8:50
professionalKevin Marois2-Feb-17 8:50 
QuestionTelerik GridViewComboBoxColumn Pin
eddieangel25-Jan-17 13:29
Membereddieangel25-Jan-17 13:29 
AnswerRe: Telerik GridViewComboBoxColumn Pin
Graeme_Grant28-Jan-17 3:23
mvaGraeme_Grant28-Jan-17 3:23 

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.