Options open up a web-form editing in the AGE

Edit records AjaxGroupEdit is possible in different modes:

  1. In the current окне;
  2. In modal окне;
  3. In a new window.

Opening in the current window

In order to access the web editor in the current window, on the edit form wizard to specify ctrl.DetailEditForm in `PostApplyToControls()`.

/// <summary> 
/// It is best to change the properties of controls on the page that are not handled WebBinder. 
/// </summary> 
protected override void PostApplyToControls()
{
    ctrlКвартира.DetailEditForm = КвартираE.FormPath;
    Page.Validate();
}

Opening in a modal window

In order to access the web editor in a modal window, on the edit form wizard to specify ctrl<Name of detail>.ModalWindowSettings in PostApplyToControls().

/// <summary> 
/// It is best to change the properties of controls on the page that are not handled WebBinder. 
/// </summary> 
protected override void PostApplyToControls()
{
    ctrlКвартира.ModalWindowSettings = new ThickBoxSettings(450, 700, "450*700");
    ctrlКвартира.DetailEditForm = КвартираE.FormPath;
    ctrlКвартира.Operations.OpenEditorInNewWindow = true;
}

Open in a new window

In order to access the web editor in the new window, on the edit form wizard to specify ctrl<Name of detail>.DetailEditForm in PostApplyToControls().

/// <summary> 
/// It is best to change the properties of controls on the page that are not handled WebBinder. 
/// </summary> 
protected override void PostApplyToControls()
{
    ctrlКвартира.DetailEditForm = КвартираE.FormPath;
    ctrlКвартира.Operations.OpenEditorInNewWindow = true;
    Page.Validate();
}