This question is locked. New answers and comments are not allowed.
What do I need to do in order to query HtmlAttributes values on my DropDownList? I know how to do this via jQuery, but what is the proper way to query the HtmlAttributes? How do I query these?
@(Html.Telerik().DropDownListFor(model => model.BookingOfficeIdNew) .Name("BookingOfficeIdNew") .HtmlAttributes(new {
@class = "PropertyProposedValueSelect", @delta = Model.BookingOfficeIdNew, @container = "BookingOfficeContainer", @updateFlag = "BookingOfficeIdChanged", @deltaValue = "BookingOfficeIdOld", @newValue = "BookingOfficeIdNew", @newText = "BookingOfficeNameNew" }) .ClientEvents(events => events .OnChange("SelectListValueUpdated") .OnLoad("OnDropDownListLoad") .OnOpen("OnDropDownListOpen") ) .BindTo(Model.BookingOfficeIdChanged ? @Html.ToSelectList(Model.BookingOfficeNameNew, Model.BookingOfficeIdNew, true) : ((SelectListItem)ViewData["DefaultSelectListPrompt"]).ToSelectList(true)) .SelectedIndex(0) .DataBinding(binding => binding.Ajax().Select("RraOfficeSelectListWithPrompt", "Revision")) )