Options open up a web-form editing in the AGE
Edit records AjaxGroupEdit is possible in different modes:
- In the current окне;
- In modal окне;
- 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
/// <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();
}
Note: If web edit form opens in a separate tab (OpenEditorInNewWindow=1, OpenEditorInModalWindow=0), detail you can edit and tab with the AGE, and on the edit page.
This can be solved, for example, a row lock in the AGE is open another tab.