Page Refresh  
Author Message
Daveyjaro





PostPosted: Wed Jun 01 19:40:43 CDT 2005 Top

ASP.Net >> Page Refresh Hi there,

haven't touched my ASP.NET app for some time, but looking back at it now I
see there ought to be a better way of handling one of its functions.

I have two list boxes, where items in the Left hand box can be moved to the
Right hand box using buttons:

Add
Remove

also there are move up and down buttons to change the order in which the
items in the right hand box appear.

Now it is these buttons that are painfully slow as I don't know how to
implement drag and drop, so one has to click it up or down one row at a
time, plus each click causes the complete screen to refresh itself each
time, and so it goes blank and then comes back with the item moved.

It is of course my inexperience in these matters that is letting me down
here, so can someone please give me some pointers on how to make this
function even a little more elegant?

Many thanks in advance
Colin B

Web Programming449  
 
 
souri





PostPosted: Wed Jun 01 19:40:43 CDT 2005 Top

ASP.Net >> Page Refresh Colin,

Functionality like this is better implemented in Javascript.
Checkout the following free asp.net control that implements a similiar
functionality.
http://metabuilders.com/Tools/DualList.aspx

HTH,
Souri

 
 
Colin





PostPosted: Wed Jun 01 20:02:05 CDT 2005 Top

ASP.Net >> Page Refresh wow, cool, thanks, I'll give it a try.

out of interest why is the button on this page titled Smack? :-)

cheers
Colin


"souri challa" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Colin,
>
> Functionality like this is better implemented in Javascript.
> Checkout the following free asp.net control that implements a similiar
> functionality.
> http://metabuilders.com/Tools/DualList.aspx
>
> HTH,
> Souri
>