ASPxClientFloatingActionButton.SetContainerElementID(id) Method
Specifies the ID of the HTML element or web control on the page.
Declaration
SetContainerElementID(
id: string
): void
Parameters
Name | Type | Description |
---|---|---|
id | string | A string value that specifies the container element ID. |
Remarks
To specify an HTML element or a web control on the page that is the container element for the floating action button, use the ASPxClientFloatingActionButton.SetContainerElement method.
The ASPxFloatingActionButton.ContainerElementID property allows you to specify the container’s ID on the server side.
Note
The HTML element or a web control should be positioned relative to its normal position.
<style type="text/css">
#content {
position: relative;
}
</style>
...
<div id="content">
...
</div>
See Also