title: How to send Javascript variable value to Kendo UI Grid?
body: <p>I am using Kendo UI and exporting grid data to excel, I know the process and it  works fine for me.
  Now I want the excel file name to be a date like "12-12-2014.xlsx" although I can get the date value from drop down using Javascript , but I can't send this date value  to my Kendo UI Grid. 
  Here is the code , can any one help me please or any other suggestions?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      var selectedDate ="";
      $("#startDate").change(function (e) {
            selectedDate = $(this).val();
            var  sd = selectedDate.split('/');
            selectedDate = sd[0] + "-" + sd[1] + "-" + sd[2];
            // selectedDate must be the excel file name
          });
  &lt;/script&gt;
  </code></pre>
  
  <p>Kendo UI grid :</p>
  
  <pre><code> @(Html.Kendo().Grid&lt;Futuresteps.Media.Models.PrintMedia&gt;()
       .Name("grid")
      .Columns(columns =&gt;
       {
            // some data
       })
       .Excel(excel =&gt; excel
                 .FileName(selectedDate+".xlsx")
                 .Filterable(true) 
                .ProxyURL(Url.Action("Excel_Export_Save", "PrintMedias"))  
         )                                         
  </code></pre>