I hope to get some guidance on how to create reorder lists programmatically because of the situation described below. Thank you.
I have a page where I want to have a toDo Iist for each of several (typically 10) milestone categories. I can think of 3 options.
I don't know in advance how many 'active' categories there will be but I there is a known fixed total of about 20 categories, of which from 1 to 20 may be 'active'
1. Have one Master ReOrderList And Then Nest the Category ReorderLists Inside
2. Create the reorderlists programmatically.
3. Brute force approach. Hardcode all 20 reorderlists and their associated sqldatasources, and then set visibility
depending on which category is active. This approach is the simplest but has the disadvantage of too much
repetitive code and the reorder lists would be in a fixed order, when I really want them to match the category order.
View Complete Post