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

Validation Combobox

 Post Reply Post Reply
Author
hamendra View Drop Down
Newbie
Newbie


Joined: 08-Feb-2012
Posts: 2
Post Options Post Options   Quote hamendra Quote  Post ReplyReply Direct Link To This Post Topic: Validation Combobox
    Posted: 08-Feb-2012 at 7:20am
I have silverligt application using Devforce with Caliburn framework. I have somae default value which is coming from database. I need some other value will be selected not default, otherwise combox show error message.
 
CAn any body help how it will be done.Or share code with me.
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 08-Feb-2012 at 4:41pm
You can implement ICustomVerifier in the partial class of the entity and verify that the property value that corresponds to the combobox is something other than the default value.
 
Follow the recipie here for how to enable the custom validation with DAF.
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down