I am working in `MVC5` with `Kendo UI` and `jquery`. I have bind a multielect textbox with datasource and on button click I want to pass all selected values to controller action method parameter.Below is my code.

In my view:

```
$("#multiselect").kendoMultiSelect({
            dataSource: dataSource,
            dataTextField: "fullName",
            dataValueField: "Email",
            select: onSelect
        });

    var selectedValues = [];
    function onSelect(e) {
        var dataItem = this.dataSource.view()[e.item.index()];
        selectedValues.push(dataItem.Email);
    }

    $("#btnshare").click(function () {
        var txtVal = selectedValues;
        window.location.href = "@Html.Raw(@Url.Action("ShareEmail", "Share", new { @multiselectemail = ViewBag.multiselectemail }))";
    }); 

```

IN Controller:

```
[HttpGet]
    public ActionResult ShareEmail(string multiselectemail)
    {         
        return null;
    }

```

But I never getting values in my parameter. What I am missing? Any help will be appreciated. Thanks in advance.