Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 August 24th, 2004, 01:12 PM
Authorized User
 
Join Date: May 2004
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Conditional Validation in a DataGrid

I have an insert row in the footer of a DataGrid. I need to validate user data on each text box but only when the "Add Button" is clicked, otherwise empty textboxes will flag a warning preventing the user even from moving between pages.

I thought of using a custom validator and checking that the add button was clicked to submit the form, but I'm not sure as to the syntax to follow. Has anyone done any of this before??





Similar Threads
Thread Thread Starter Forum Replies Last Post
xsd conditional validation kapar_p XML 4 August 7th, 2006 01:48 PM
datagrid validation bala24 General .NET 2 May 12th, 2006 02:45 AM
DataGrid Validation bmains ASP.NET 1.0 and 1.1 Professional 2 December 28th, 2005 03:51 PM
Datagrid Conditional ~Bean~ ASP.NET 1.0 and 1.1 Basics 3 July 27th, 2005 12:40 AM
Form validation & conditional return confirmation GMiles1972 Javascript How-To 3 February 3rd, 2004 11:31 AM





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