ASPxGantt.JSProperties Property
Allows you to supply server data that can be parsed on the client.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v19.2.dll
Declaration
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 you want to obtain server information on the client. The JSProperties property represents a collection of property names and their values.
Note
Property names should have the ‘cp’ prefix.
<script type="text/javascript">
alert(clientGantt.cpText);
</script>
...
<dx:ASPxGantt ID="ASPxGantt1" runat="server" ClientInstanceName="clientGantt">
...
</dx:ASPxGantt>
ASPxGantt1.JSProperties["cpText"] = "custom_text";
See Also