Print Page | Close Window

Validation Combobox

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3253
Printed Date: 03-May-2024 at 5:13pm


Topic: Validation Combobox
Posted By: hamendra
Subject: Validation Combobox
Date 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.



Replies:
Posted By: mgood
Date 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.
 
http://devforcecaliburn.codeplex.com/wikipage?title=Validation&referringTitle=Documentation - http://devforcecaliburn.codeplex.com/wikipage?title=Validation&referringTitle=Documentation



Print Page | Close Window