Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ability to add not enabled in grids
Message
De
05/08/2008 16:47:03
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01336675
Message ID:
01336690
Vues:
18
Hi Linda,

>I have 2 grids on a tab page in a business form. They are very simple and the users would like to enter data directly. I set the AllowUserToAddRows property to true. ReadOnly is false and Enabled is true. I made sure to create an instance of the related business objects. However, when I run the program, the grids are not enabled. I added code to specifically enable them in the Enter method but it didn't help. Currently, those tables are empty, but that shouldn't make a difference. What else do I need to do? Thanks.


Is adding a "New" button an option so you can call NewRow?
this.MyBizObj.NewRow();
this.grdMyGrid.NavigateData(mmNavigate.Last);
this.grdMyGrid.Focus();
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform