Set Field Values
Set Field Value When Another Field Changes

Code Customization
Set Field Value When Another Field Changes
Description:

This customization sets a field value in a record control when another field changes.

This customization will be added in:

..\<Application Name>\App_Code\<Table Name>\Edit<Table Name>.Controls.cs

For example: C:\MyApp1\App_Code\Customers\EditCustomers.Controls.cs

Procedure:

Step 1:  Use this wizard to add code customization.

Step 2:  Build and run the application.

Applies To:

This code customization is applicable only for pages with an editable record or table control.

Note: In .NET, if the end user changes the value in a textbox and immediately presses any button such as Save or Cancel, the TextChanged event will be triggered, but the button's click handler will not be called. The user will have to click the button once more after the TextChanged event completes its processing and posts back the page. This is a Microsoft .NET Framework limitation.


See:
http://www.dotnet247.com/247reference/msgs/58/290547.aspx
http://www.dotnet247.com/247reference/msgs/23/118838.aspx
http://www.codecomments.com/archive320-2005-2-403668.html


Disclaimer:
Customizations included in this wizard are provided as a sample to demonstrate a feature, and may work only in specific situations. The Iron Speed Designer support team cannot assist in the resolution of problems which may occur as a result of customizing your application or modifying a customization to fit a particular purpose.


  Privacy Statement