ASPxClientGanttTaskEditDialogShowingEventArgs Class
Contains data for the TaskEditDialogShowing event.
Declaration
declare class ASPxClientGanttTaskEditDialogShowingEventArgs extends ASPxClientCancelEventArgs
Remarks
Web Forms:
<dx:ASPxGantt ID="Gantt" >
<ClientSideEvents TaskEditDialogShowing="function(s, e) {
e.values["Subject"]= "Custom dialog text";
e.readOnlyFields.push("Subject");
e.hiddenFields.push("PercentComplete");
}" />
</dx:ASPxGantt>
MVC:
@Html.DevExpress().Gantt(settings => {
settings.Name = "gantt";
settings.ClientSideEvents.TaskEditDialogShowing = "function (s, e) {
e.values["Subject"]= "Custom dialog text";
e.readOnlyFields.push("Subject");
e.hiddenFields.push("PercentComplete");
}";
...
}).Bind(
GanttDataProvider.Tasks, GanttDataProvider.Dependencies,
GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()
Result:
Concepts
Inheritance
ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientGanttTaskEditDialogShowingEventArgs
See Also