Telerik rad Gantt不添加任务

时间:2019-04-02 17:00:05

标签: asp.net telerik rad

我的ASP.net页中有一个Rad Gantt控件。正如您在代码中看到的那样,当我在服务器上运行网页时,一切看起来都很好。

但是,当我单击“添加任务”按钮以使用此控件时,它将启动无穷的进度并停止加载。

有人可以帮我吗?

<telerik:RadGantt RenderMode="Lightweight" runat="server" ID="RadGantt1" DataSourceID="Sqld1" Height="600px" ListWidth="350px"
            DependenciesDataSourceID="dependata" SelectedView="WeekView" AutoGenerateColumns="false">
            <Columns>
                <telerik:GanttBoundColumn DataField="Title" DataType="String" Width="120px"></telerik:GanttBoundColumn>
                <telerik:GanttBoundColumn DataField="Start" DataType="DateTime" DataFormatString="dd/MM/yy" Width="40px"></telerik:GanttBoundColumn>
                <telerik:GanttBoundColumn DataField="End" DataType="DateTime" DataFormatString="dd/MM/yy" Width="40px"></telerik:GanttBoundColumn>
            </Columns>
             <DataBindings>
                <TasksDataBindings
                    IdField="ID" ParentIdField="ParentID"
                    StartField="Start" EndField="End"
                    OrderIdField="OrderID"
                    SummaryField="Summary"
                    TitleField="Title" PercentCompleteField="PercentComplete" />
                <DependenciesDataBindings
                    TypeField="Type" IdField="ID"
                    PredecessorIdField="PredecessorID"
                    SuccessorIdField="SuccessorID" />
            </DataBindings>
        </telerik:RadGantt>

0 个答案:

没有答案