aspnet-devexpress-dot-web-dot-aspxgantt-dot-aspxgantt-2adb4ceb.md
Enables you to supply any server data that can then be parsed on the client.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
public Dictionary<string, object> JSProperties { get; }
Public ReadOnly Property JSProperties As Dictionary(Of String, Object)
| Type | Description |
|---|---|
| Dictionary<String, Object> |
The collection of property names and their values.
|
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>
ASPxGantt1.JSProperties["cpText"] = "custom_text";
See Also