Validation client/server configuration
Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=917
Printed Date: 10-Jun-2026 at 8:46pm
Topic: Validation client/server configuration
Posted By: sung
Subject: Validation client/server configuration
Date Posted: 18-Aug-2008 at 12:36pm
|
If I am going to deploy my application in a 3-tier scenario, the business objects are in both client and server and the event/setter function will be fired on both client and server. Is it possible to specify/configure the validation logics will be fired on client or server? Like only on client or only on server?
|
Replies:
Posted By: davidklitzke
Date Posted: 18-Aug-2008 at 1:33pm
|
There is no way that I know of to configure the verification code to run on client only, server only, or both, but you can use the IsClient property of the PersistenceManager in your verification code to tell whether you are running on the client or the server.
|
|