Print Page | Close Window

Validate Textboxes on Load

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=4192
Printed Date: 03-Jun-2025 at 9:17pm


Topic: Validate Textboxes on Load
Posted By: mariusk
Subject: Validate Textboxes on Load
Date Posted: 24-Jun-2013 at 2:05am
Hi

How can I trigger the entity model validation to occur on when the window gets loaded?

I have a couple of textboxes bound to my entity model and I want to display all the required textboxes in red.

Any help will be much appreciated.

Thanks
Marius



Replies:
Posted By: sbelini
Date Posted: 26-Jun-2013 at 12:48pm
Mariusk,

You might want to take a look at  http://social.msdn.microsoft.com/Forums/vstudio/en-US/06d9f102-e169-4050-9290-c3161560e8af/validation-rules-not-firing-the-first-time - http://social.msdn.microsoft.com/Forums/vstudio/en-US/06d9f102-e169-4050-9290-c3161560e8af/validation-rules-not-firing-the-first-time .





Print Page | Close Window