display Scheduler data based on dropdowns selection

2 posts, 0 answers
  1. Naresh
    Naresh avatar
    4 posts
    Member since:
    Dec 2016

    Posted 13 Jan Link to this post

    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>

  2. Nencho
    Admin
    Nencho avatar
    1590 posts

    Posted 17 Jan Link to this post

    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.
Back to Top