Contact Us
Forum Home
>
DevForce
>
DevForce 2010
New Posts
FAQ
Search
Calendar
Register
Login
Validation on TextBox
Post Reply
Page
<
1
2
Author
Message
Share Topic
Printable Version
Delicious
Digg
Facebook
Furl
Google Boomarks
Google Buzz
MySpace
Newsvine
reddit
StumbleUpon
Translate
Twitter
Windows Live
Yahoo Bookmarks
Topic Search
Topic Options
Post Reply
Create New Topic
bala
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
Groupie
Joined: 18-Aug-2010
Location: Brazil
Posts: 54
Post Options
Post Reply
Quote bala
Report Post
Quote
Reply
Topic: Validation on TextBox
Posted: 08-Sep-2010 at 7:30am
Hi
I am using master details method I am showing data on grid and after selecting a grid
his details showing on textbox.
Now i want to update data and I want validation on it. and want to fire proper error message too.
Mention code is not fireing any message.
Thanks
DenisK
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
IdeaBlade
Joined: 25-Aug-2010
Posts: 715
Post Options
Post Reply
Quote DenisK
Report Post
Quote
Reply
Posted: 06-Sep-2010 at 4:16pm
Hi Bala;
You just need to bind the TextBox to the Entity's property and set NotifyOnValidationError=true.
For example, using our NorthwindIB Database example, to bind a TextBox to the Employee.City property, the XAML file would look like this:
Text="{Binding City, Mode=TwoWay, NotifyOnValidationError=true}"
Hope this helps.
Denis
bala
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
Groupie
Joined: 18-Aug-2010
Location: Brazil
Posts: 54
Post Options
Post Reply
Quote bala
Report Post
Quote
Reply
Posted: 02-Sep-2010 at 11:11am
Hi
I am inserting data after entering on TextBox
I want to validiate that text box...
How can I do with DevForce.?
I am using Devforce200V 6.0.4.0 With Silverlight
Waiting for help
Post Reply
Page
<
1
2
Forum Jump
-- Select Forum --
Community Forum
Community Forum
Community Forum now on StackOverflow
DevForce 2012
DevForce 2010
DevForce 2009
DevForce Classic
Forum Permissions
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum