databinder has MoveUpButton and MoveDownButton, which do the job in ListViews. If you don't use databinder, you can still have a look at the source.
databinder.net Cheers, Thomas On Thu, Mar 6, 2008 at 6:35 PM, jeredm <[EMAIL PROTECTED]> wrote: > > I should have been more clear that I need to create a control to allow the > user to change the order in a list. I am able to sort the list before it is > rendered just fine. What I need to do is to loop through the table once it > has been re-ordered by the user and then set a sort order in the DB based on > the order of the rows in the table. > > I believe the solution Ryan mentioned earlier in this thread is capable of > doing what I need, but I have not been able to get it to work yet in the > context that I need it. I was able to get his solution working with an > unordered list in a WebPage, but the panel I need the list/table on is > swapped in via AJAX which seems to be creating a javascript error. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
