All docs
V21.2
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxGantt.JSProperties Property

Enables you to supply any server data that can then be parsed on the client.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v21.2.dll

Declaration

public Dictionary<string, object> JSProperties { get; }

Property Value

Type Description
Dictionary<String, Object>

The collection of property names and their values.

Remarks

Use the JSProperties property to declare temporary client properties when it is necessary to obtain server information on the client. The JSProperties property represents a collection of property names and their values.

Note

Property names must begin with the ‘cp’ prefix.

<script type="text/javascript">
    alert(clientGantt.cpText);
</script>
...
<dx:ASPxGantt ID="ASPxGantt1" runat="server" ClientInstanceName="clientGantt">
    ...
</dx:ASPxGantt> 
See Also