CodeBehind configuration setting

Keys

Key

Value

1

SynWeb

2

WebUserForm

3

Template

4

CodeBehind

Description
The CodeBehind configuration setting is used to maintain the template code inserted into the Code behind tab of all user forms created using the User Form Maintenance window in SynWeb.

Default value

The default value is:
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; usingSystem.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using Synergetic.Manager; namespace Synergetic.SynWeb.Web.UserForm { public partial class %ControlName%: SynWebBaseUserFormUserControl { } }

Setting a different value

Type the new code template in the Value field on the Configuration File Maintenance window. See Configuration File Maintenance window in the Synergetic System maintenance manual.