I have a DropdownList on my page. I have it set as follows:
@(Html.Kendo().DropDownListFor(m => m)
.Name("CustomerDropDown")
.DataTextField("DropDownText")
.DataValueField("RowId")
.OptionLabel("Select Customer or Reseller...")
.AutoBind(true)
.Filter("contains")
.HtmlAttributes(new { style = "width:500px" })
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetCustomersForPointofSaleDropDown", "Customer");
})
.ServerFiltering(true);
})
.Events(e =>
{
e.Select("onCustomerSelect").DataBound("onDropDownListBound");
})
)
Under certain circumstances I don't want the drop down list to auto bind. I don't see a Bind event I can latch on to, like I can with the data bound event, in order for me to prevent the binding from happening. Is there some way I can prevent the auto binding before it actually occurs?