Skip to main content

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.v24.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