Click here to Skip to main content
11,641,708 members (47,306 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WPF MVVM
I have been working in a wpf application for last 2 months...I am not getting a solution for validation on button click...I need a validation with error message notifying corresponding error like in web application required field
Posted 31-Jan-13 22:30pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
v3
Comments
shijinmk at 1-Feb-13 4:46am
   
Thanks for the post josh-jw
In the first example the error(red border is showing while the window is loading)..But i need it only after the button is clicked..And no need of disabling the button

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Mika Wendelius 260
1 DamithSL 248
2 Afzaal Ahmad Zeeshan 129
3 OriginalGriff 120
4 Sergey Alexandrovich Kryukov 80
0 Mika Wendelius 460
1 OriginalGriff 265
2 DamithSL 258
3 CPallini 169
4 Afzaal Ahmad Zeeshan 149


Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 1 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100