Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReadOnly BO's
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01223268
Message ID:
01228146
Views:
22
Hi!

>
>If your form is a subclass of mmMaintenanceForm you can call the NavigateNew() method to navigate to the new row. Otherwise, you can take a look at the code in this method to see what needs to be done.

I subclass from mmBusinessForm so I will have a look at the code in the NavigateNew() method.

>
>The NavControl is specifically designed to be a DataGrid or DataGridView--a user interface control that has more than one item in it. It's not designed to be a textbox. I don't understand what you mean by making the textbox a navigation control.

What I would like to happen is as follows:
I have a form with a
1] Parent in a DataGridView
2] Child1 in a DataGridView (0-M) (mostly more than 1 row hence the grid)
3] Child2 in a few textboxes (0-M)(mostly one row and don't want horizontal scrolling hence the text boxes)
4] Child3 in a DataGridView (0-M) (mostly more than 1 row hence the grid)
The form needs to have a common Navigation+Add/Delete/Save/Cancel toolbar strip.

When the form opens the parent grid has focus so the NavToolbar strip should enable/disable its buttons according to the position in the Parent Grid.

When the user clicks on the Child1 grid the Navtoolbar strip should now work with that grid. i.e. If the user now clicks the Add button this action should act on the Child1 Grid and a new row should be added in Child1 grid.

Now if the user clicks on Child3 grid and there are no rows retrieved for the current row in the Parent then the NavToolbar strip should properly refresh itself by disabling all the Nav buttons as there are no rows to navigate.

Finally if the user clicks on any of the textboxes associated with Child2 then the NavToolbar strip should refresh accordingly disable the nav buttons etc.

Hope this give you a better picture.

>
>>Is it possible for you to connect to my PC and have a quick look? I have to give a demo of the application next week.
>
>I won't be able to do so tomorrow but perhaps Friday if you still can't figure out how to accomplish what you need.

If Friday is ok with you I would really appreciate if you could connect and have a look. Let me know when and how and I will call you.


>
>>Yes the pre-built navigation toolbar with the Add/Delete/Save/Cancel buttons is what I am looking for. I can add the buttons myself but am not sure how I can write generic code to enable/disable the buttons based on the current active control on the active form. Is is possible to get that toolbar class sooner than its official release?
>
>Absolutely!
>

Can't wait to get it !!!!!!



Sarosh
Previous
Reply
Map
View

Click here to load this message in the networking platform