This is a migrated thread and some comments may be shown as answers.

display Scheduler data based on dropdowns selection

1 Answer 9 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Naresh
Top achievements
Rank 1
Naresh asked on 13 Jan 2017, 01:06 PM

I have two dropdowns and a mvc kendo scheduler. I am trying to display the scheduler events based on two drop downs selections. Could you please help me? Here is the code

.DataSource(d=>
                 {

            d.Model(m =>
            {
                m.Id(f => f.TaskID);
            });
            d.Read(read =>
            {
                read.Action("schedulerDisplay", "")
                    .Data("passParameters");
            })
            .ServerOperation(true);
        })

<script>
function passParameters() {

        return {
            param1: $("#dropdown1").val(),
            param2: $("#dropdown2").val()
        };
    }
</script>

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 17 Jan 2017, 11:39 AM

Hello,

I would suggest you to refer to the following Code Library, where exactly this functionality is demonstrated:

http://www.telerik.com/support/code-library/server-filtering

Hope this would help.

Regards,

Nencho
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler
Asked by
Naresh
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or