Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 16th, 2004, 07:18 PM
Registered User
 
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default strange situation

Hey,

I have a datagrid which has viewstate DISABLED. It allows me to edit and update the datagrid. Now above the dg I have one textbox, one validator and one button. NOW when I press the edit button for the first time for the 1st item and do the update everything works.

BUT If I do this again with the 1st item it doesnt work anymore. Instead the validator above the dg get fired and tells me that the value for the textbox is required. Although the property causevalidation of the edit button is set to false. Can somebody tells me why this validator fires?

NOW If I edit another item then it works, but I cant edit the same item twice because the validator fires. Can somebody guide me?

Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Behaviour VeganMan BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 9 April 14th, 2008 11:16 AM
Really Strange... nooor83 BOOK: Professional Ajax ISBN: 978-0-471-77778-6 7 May 7th, 2006 12:51 PM
Situation on Static IP Based SQL Server reyboy SQL Server 2000 1 April 4th, 2006 01:07 PM
very strange problem! please help! raybristol ASP.NET 1.0 and 1.1 Basics 8 December 15th, 2005 06:46 AM
strange output jun99 PHP How-To 4 December 9th, 2005 11:20 AM





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