IWebFormsDocumentService Interface
Provides methods to access services for tracking the loading state of a Web Forms document, handling events at load time, accessing a document's location, managing a document's undo service, and setting a new selection within the document.
Assembly: System.Design (in System.Design.dll)
[ObsoleteAttribute("The recommended alternative is System.Web.UI.Design.WebFormsRootDesigner. The WebFormsRootDesigner contains additional functionality and allows for more extensibility. To get the WebFormsRootDesigner use the RootDesigner property from your ControlDesigner. http://go.microsoft.com/fwlink/?linkid=14202")] public interface class IWebFormsDocumentService
| Name | Description | |
|---|---|---|
![]() | DocumentUrl | Gets the URL at which the document is located. |
![]() | IsLoading | Gets a value indicating whether the document service is currently loading. |
| Name | Description | |
|---|---|---|
![]() | CreateDiscardableUndoUnit() | Creates a discardable undo unit. |
![]() | DiscardUndoUnit(Object^) | Discards the specified undo unit. |
![]() | EnableUndo(Boolean) | Enables the ability to undo actions that occur within undoable action units or transactions. |
![]() | UpdateSelection() | When implemented in a derived class, updates the current selection. |
| Name | Description | |
|---|---|---|
![]() | LoadComplete | Occurs when the service has finished loading. |
Note |
|---|
The IWebFormsDocumentService interface is obsolete. Use the WebFormsRootDesigner class for equivalent designer functionality. |
Available since 1.1



