title: Hide KendoUI Dropdownlist
body: <p>I am trying to hide/show a KendoUI Dropdownlist depending on the user's level of access; so that it would be only visibile for AdminUsers</p>
  
  <pre><code>@if (User.IsInRole(Constants.Admin))
  {
  &lt;div&gt;
      &lt;div class="editor-label"&gt;
          Filter by Staff:
      &lt;/div&gt;
      &lt;div class="editor-field"&gt;
  
          @(Html.Kendo().DropDownList().Name("UserDropDownList").BindTo(Model.Users)
                  .DataTextField("User").DataValueField("UserId")
                  .SelectedIndex(Model.Users.IndexOf(Model.Users.FirstOrDefault(x =&gt; x.UserId == Model.Default)))
                  .Events(e =&gt; e.Change("SelectedUserChanged")))
      &lt;/div&gt;
  &lt;/div&gt;
  
  }
  </code></pre>
  
  <p>Now this wont work when the user is not an admin because as you see, this Dropdownlist has a Change event which feeds a Grid. I wonder if there is anyway that you're aware of to resolve this issue. Many thanks. </p>