WebPropertyEditor.BreakLinksToControl(Boolean) Method
Unsubscribes from the control’s events and, depending on the parameter, also disposes of the control and removes the link to the control.
Namespace: DevExpress.ExpressApp.Web.Editors
Assembly: DevExpress.ExpressApp.Web.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
unwireEventsOnly | Boolean |
|
Remarks
This method supports the internal infrastructure. You do not need to call this method manually in most cases.
You can override this method in WebPropertyEditor descendants to dispose of custom recourses.
For examples on how to override this method, refer to the following section: Supply Predefined Values for the String Property Editor Dynamically.
When the page life cycle is finished, the rendering results are sent to the browser. The server side processing needs to finish before changes are reflected in your browser. The `BreakLinksToControl`` method is executed on the server side and allows you to unsubscribe to control events and release resources.