New Posts New Posts RSS Feed: Validation on TextBox
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Validation on TextBox

 Post Reply Post Reply Page  <12
Author
bala View Drop Down
Groupie
Groupie
Avatar

Joined: 18-Aug-2010
Location: Brazil
Posts: 54
Post Options Post Options   Quote bala Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
bala View Drop Down
Groupie
Groupie
Avatar

Joined: 18-Aug-2010
Location: Brazil
Posts: 54
Post Options Post Options   Quote bala Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down