10626 : If im using paging on the gantt is it possible in the code to which page i want to display?

Question

I’ve got a question about the Gantt for ASP.NET 2. If i’m using paging on the gantt is it possible in the code to select which page i want to display. For exemple when the page is loading in the code i would like to display the page 5 of the gantt, is it possible ?

Answer

Yes. The Gantt_ASP.CurrentPage property (int) controls this. The value is stored in a viewstate variable like this

(

int)ViewState[“CurrentPage”]