I have a grid that is configured for Ajax editing, and records are edited/added by means of a popup that displays a custom template that contains a number of cascading comboboxes. It works beautifully for adding a new record.
However, when editing an existing record, all comboboxes have the right value from the bound record being edited, but they are all disabled (except the first one, of course). So if a user wants to change the value in the last combobox, they must first go through the processes of selecting a different value in each of the other comoboxes, starting at the root one. This is of course cumbersome. How can I make it that when editing an existing record, all comboboxes are enabled so that the user can go straight to the last one in order to change its value.
Here's how my comboboxes are defined (this is one of 9 cascading combos):
Thanks for a great product.
However, when editing an existing record, all comboboxes have the right value from the bound record being edited, but they are all disabled (except the first one, of course). So if a user wants to change the value in the last combobox, they must first go through the processes of selecting a different value in each of the other comoboxes, starting at the root one. This is of course cumbersome. How can I make it that when editing an existing record, all comboboxes are enabled so that the user can go straight to the last one in order to change its value.
Here's how my comboboxes are defined (this is one of 9 cascading combos):
@(Html.Kendo().ComboBoxFor(m => m.Tier2)
.Placeholder("--Select a Tier 2--")
.DataSource(ds => {
ds.Read(rd => {
rd.Action("GetTier2", "Budget").Data("dataForTier2");
})
.ServerFiltering(true);
})
.DataTextField("TierName")
.DataValueField("TierCode")
.Enable(true)
.AutoBind(false)
.CascadeFrom("Tier1")
)
Thanks for a great product.