<p>i have a list of products that are being displayed in particular order. store admin can reassign the display order, by moving the "hot" items to the top of the list. what's the best way of implementing the admin functionality <b>UI</b> [asp.net C#]? Products table has a [displayOrder(int)] filed which determines the display order.</p>

<p>i'm looking for something intuitive and simple.</p>

<p>thank you.</p>

<p>p.s. i guess i didn't make myself clear, i'm looking for UI advice more than anything.</p>

<p>SOLUTION: ReorderList worked out great, this <a href="http://weblogs.asp.net/justinsaraceno/archive/2008/02/22/reorderlist-with-objectdatasource.aspx" rel="nofollow noreferrer">article</a> helped too. Also, make sure OldValuesParameterFormatString="{0}" in your DataSource.</p>

[{'answer_id': 51347, 'author': 'Gishu', 'author_id': 1695, 'author_profile': 'https://Stackoverflow.com/users/1695', 'pm_score': 2, 'selected': False, 'text': '<p>You need a Rank field for each product (which could also be the DisplayOrder field).<br>\nWhen the administrator ups or downs a product, update the rank value.<br>\nWhen you need to list the products, do a select query which sorts in DESC order of rank.</p>\n'}, {'answer_id': 51356, 'author': 'zappan', 'author_id': 4723, 'author_profile': 'https://Stackoverflow.com/users/4723', 'pm_score': 0, 'selected': False, 'text': "<p>i'm implementing that using the 'Order' column/property where people input numbers like 10, 20, 30 (i have ascending ordering). i have a list of items with text boxes to input order, and an 'apply order' button that saves new values to the database and reorders/reloads items on the page with the new ordering applied.</p>\n\n<p>i don't forbid inputting the same value for two items, i sort them by name as a second sort parameter, or leave it to the database to sort it at will if it doesn't matter much. i believe it's understandable enough to put it that way, it seems like an ordered list which everybody understand easily.</p>\n"}, {'answer_id': 51357, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>If you can modify the database, add an IsHot column. Then sort by IsHot and DisplayOrder (in that order). This will keep the products in the correct order and the "hot" products will bubble up to the top.</p>\n'}, {'answer_id': 51358, 'author': 'Mauro', 'author_id': 2208, 'author_profile': 'https://Stackoverflow.com/users/2208', 'pm_score': 3, 'selected': True, 'text': '<p>using AJAX you could implement a Reoder list control you can find more information here <a href="http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ReorderList/ReorderList.aspx" rel="nofollow noreferrer">http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ReorderList/ReorderList.aspx</a></p>\n\n<p>Mauro</p>\n\n<p><a href="http://www.brantas.co.uk/" rel="nofollow noreferrer">http://www.brantas.co.uk</a></p>\n'}]
['https://Stackoverflow.com/questions/51342', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3661/']