Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 25th, 2004, 12:03 PM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Validation control

Hi All,
I am new in ASP .Net
I have two buttons in my page,
I would like to check validation control only when they press on Add New Button,
If they press on Make Datagrid, I don't want to have validation control,
Now, when I press MakeDataGrid button, it does not make it becase it goes to validation control, and raise the error message for RequiredFeildValidation control, But I want to have this error message only when they press on AddNew butoon,

What should I do, Please help
Thanks
Behnam
 
Old December 25th, 2004, 12:22 PM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks all,
I found it,
There is CauseValidation property in button which I changed in to False for MakeDataGrid button,
Thanks anyway
Behnam






Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Control Problem manojbhoyar ASP.NET 1.0 and 1.1 Basics 4 June 20th, 2008 04:05 AM
Validation control help subhasps8 ASP.NET 2.0 Professional 1 July 30th, 2007 12:50 AM
Validation control and postback Chaotix ASP.NET 1.0 and 1.1 Basics 0 July 18th, 2006 12:31 PM
Validation control ? basant ADO.NET 1 February 5th, 2004 04:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.