DevicesOverview Class

Provides an overview of the DeviceDtos that belong to the CompanyDto the user belongs to. All users with permission ViewDevices can view it, but only users with the ManageDevices permission can manage it.

Definition

Namespace: MobileTrack.Web.Portal.Components.Overviews
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public class DevicesOverview : MtBaseComponent, 
	IHasCloudEventsService
Inheritance
Object    ComponentBase    MtBaseComponent    DevicesOverview
Implements
IHasCloudEventsService

Constructors

DevicesOverviewInitializes a new instance of the DevicesOverview class

Properties

CloudEventsService Dependency injected service to interop with Cloud Services, e.g. when the receiver gets a message from a device or when a new account is created, a device send a message to the receiver, etc.
ConfirmDialog Modal for confirming an action
FormOverlay Form overlay for submitting forms.
MultipleStateConfirmDialog Modal for confirming an action
RequiredPermissionsForManage Lists the permissions the user needs to be able to manage the page/item
(Overrides MtBaseComponentRequiredPermissionsForManage)
RequiredPermissionsForView Lists the permissions the user needs to be able to view the page/item
(Overrides MtBaseComponentRequiredPermissionsForView)

Methods

BuildRenderTree
(Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder))
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides MtBaseComponentDispose)
LoadData Loads the data that the component requires to get out of preview. It is invoked in the OnParametersSetAsync method of MtBaseComponent
(Overrides MtBaseComponentLoadData)
OnAfterRenderAsync Method invoked after each time the component has been rendered interactively and the UI has finished updating (for example, after elements have been added to the browser DOM). Any ElementReference fields will be populated by the time this runs. This method is not invoked during prerendering or server-side rendering, because those processes are not attached to any live browser DOM and are already complete before the DOM is updated. Note that the component does not automatically re-render after the completion of any returned Task, because that would cause an infinite render loop.
(Overrides ComponentBaseOnAfterRenderAsync(Boolean))
OnInitialized Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
(Overrides ComponentBaseOnInitialized)
ReloadData Reloads the data in the grid, usually invoked after URL change (new company)

See Also