If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Reorder data driven items

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-15-04, 14:20
meldrape meldrape is offline
Registered User
 
Join Date: Nov 2002
Location: San Antonio
Posts: 2
Reorder data driven items

Hello there,

I am converting an old mainframe application to asp/sql but there is some functionality in the old app that I do not know how to replicate. If the user is in edit mode of an estimate, they can actually insert a new line where they want it and add another item to the order. In the conversion I was thinking of giving them a way to add an item to the estimate, then re-order the items as they would like them, but I don't know how to do that and I can't seem to find anything to suit my needs in any of my favorite asp sites.

http://www.insidedhtml.com/tips/elements/ts32/page1.asp

This is the closest thing I've found but I can't figure out how to work my recordset into it and I don't know javascript very well at all.

If anybody has a suggestion, please let me know. Thanks.
Reply With Quote
  #2 (permalink)  
Old 04-15-04, 18:49
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Okie,... basically I would do it using DHTML (effectively Javascript referencing the DOM model). It would be relatively easy providing you didn't have top worry too much about supporting different browsers....

You could do it in straight ASP, but you would have to submit back to the server whenever you moved/reordered a record and that might not work for you (eg. the response time might be too slow).

Let me know what you would like to try....
Reply With Quote
  #3 (permalink)  
Old 04-18-04, 12:03
meldrape meldrape is offline
Registered User
 
Join Date: Nov 2002
Location: San Antonio
Posts: 2
Thanks, Rokslide. I would prefer ASP because I know very little Javascript however the browser type is not an issue, so if you think DHTML is the way to go... It's an intranet application and everybody has IE 6.0.

I tried to modify the example I provided the link for but couldn't figure out how to populate the listbox (javascript ignorance again )

I really don't know where to start, though. Do you have any thoughts? Thanks.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On