AI OnAI Off
Hi,
Do you mean ordering a <select> markup that's binded to an instance that implements IEnumerable?
Sure just reorder the list and then bind it to your view model.
Something with the effect of:
Model.RoleList = unorderedRoleList.OrderBy(x => x.Name).ToList()
(If you mean instead as en editor property when editing a page then the principle applies for the selection factory.)
Hi,
Yes, you can change the order of dropdown in the admin panel but for that, you need to change things in its core page i.e. aspx files. You can find those in UI package of episevrer.
Is there any way to fix sort order of options in dropdowns? For example, role list is out of order on a new user creation page.