Hello,

Don't know if I'm in the right place, so feel free to redirect me if
necessary.

I use scriptaculous's drag/drop to reorder a list in my asp.net (vb)
project as on this page: 
http://www.codeproject.com/KB/aspnet/Scriptaculous___ASPNET.aspx

Keep in mind that my list is in an update panel.

Let say - for example - that my initial list is : cat, dog, bird

I works perfectly: each time that I drag/drop, I've got my sql query
reordering the data.

It's now (both graphically and in DB) : cat, bird, dog

The thing is that each time that I click on any controller after that
(like: "add another animal"), the list is reordering itself back like
before I drag/drop (cat, dog, bird), but only graphically, because if
I hit refresh now the list is really as I wanted after my drag/drop
(cat, bird, dog).

I think that I would need to do some code-behind task after my drag/
drop to reload the list from the DB and update my updatepanel, but I
just can't figure out how my scriptaculous's drag/drop action could
trigger an asp.net code-behind event.

Anybody can help me on this?

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to