Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ability to add not enabled in grids
Message
From
06/08/2008 18:21:11
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01336675
Message ID:
01337081
Views:
17
>Hi Tim,
>Yes, it's an option. I was just expecting it to be like VFP (or SQL Server, for that matter), so that you could just type in the last row and it would automatically create a new row. I ended up adding separate New buttons for each grid. I'm just hoping to avoid having to complete sets of buttons for each grid. Thanks, as always, for your help.

I wonder if there is an event on the grid where you could just call NewRow()? I haven't really tried to do that. Are these tables such that they get added to independantly?
Tim

>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform