Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Rules object during save on a postback
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MySQL
Divers
Thread ID:
00987178
Message ID:
00989924
Vues:
55
CT,

>The weird thing is that this works fine as long as the IsPostBack code is not in the PageLoad method of the code.

Sorry to take so long in responding...I had to do a lot of sifting through code to determine the best solution for you. Try adding the following overload to your ABusinessObject class and see if that fixes the problem:
public override void SetCurrentDataSet(System.Data.DataSet ds, string tableName, bool setRequiredFields, bool raiseEvents)
{
	base.SetCurrentDataSet (ds, tableName, setRequiredFields, raiseEvents);
	if (tableName == this.TableName)
	{
		this.StoreDataRow(ds);
	}
}
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform