RadiantQ jQuery Gantt Package
How to pass a argument to server in MVC Wrapper?
Previous Topic  Next Topic 

Sometimes we have a situation to pass an arguments to sever, based on the arguments we have to retrieve data from server in this case, we can use the DataSourceUrlArguments property.


Here is the code example.

 

<%= Html.JQFlexyGantt(

    new JQFlexyGanttSettings()

    {

               

        ControlId = "gantt_container",

        DataSourceUrlArguments = "{total_tasks:window.taskCount}",

        DataSourceUrl = new Uri("/Home/GetPerformanceTestSampleSource", UriKind.RelativeOrAbsolute),             

        Options = new FlexyGanttOptions()

        { 

            ....                   

        }               

})%>


to kown more about this take a look at the ..\MVCWrapperDemo\Views\Home\PerformanceTestSample.aspx sample.









� RadiantQ 2022. All Rights Reserved.