Saturday, October 20, 2012

Order Form Sample–Part 15

When we insert a new order, it would be more convenient if the order remained selected and in edit mode.

In the Project Explorer, double-click on Orders / Actions / ag2 (Form) / a13 – Select, editForm1 when Insert action node.

Action 'a13' of action group 'ag2' in the Orders controller.

Change the Command Name to “Edit”.

Property New Value
Command Name Edit

Press OK to save the action.

Press Browse and wait for the web application to load in your browser. Create a new order, and select a customer and employee. Press OK to save the order, and the form will stay in edit mode.

Saving a new record will keep the form in edit mode. Order Details will appear below.

No comments:

You can find more about Code OnTime Generator, Data Aquarium Framework, and other great products here.


© 2010 Code OnTime LLC. Intelligent code generation software for ASP.NET. Visit us at http://codeontime.com