title: Telerik Grid MVC: Get the object passed to ClientEvent functions in javascript side
body: <p>I have a little tricky question. I have a Telerik Grid with some ClientSide Events:</p>
  
  <pre><code>.ClientEvents(events =&gt; events
      .OnDataBinding("SetAjaxParameter")
  )
  </code></pre>
  
  <p>In the function <code>SetAjaxParameter</code> I set the paramters for the ajaxBinding:</p>
  
  <pre><code>function SetAjaxParameter(event) {
      event.data = {
          name: $('#paramterID').val(),
          value: $('#valueID').val()
      };
  };
  </code></pre>
  
  <p>So in my controller I have access to the passed parameters 'name' and 'value'.
  But I want to define the call to SetAjaxParameter() in javascript and not in the Setup of the TelerikGrid. Is that somehow possible? So i have to get this event-Objekt which is passed by the Grid to my function. But i can't figure out what type of objekt it is neather how to get it.</p>
  
  <p>You may ask why: i want to seperate cshtml and javascript files and my javascript gets loaded after the html has been loaded, so the function for the databinding-Event is not available yet</p>