Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Edit quote line

Reply
Thread Tools

Edit quote line

 
 
tim@exelsor.co.nz
Guest
Posts: n/a
 
      10-29-2005
Hello All

I am writing an asp app for generating quotes. What I would like to do
is allow the user to edit the quote lines without having to open a new
page each line.

On the quote I have created a loop which goes through the recordset and
populates a sort of data grid. Can you use javascript or something so
the user can click an edit icon on the appropriate line item in the
grid and edit the line details there instead of having to open another
page to edit the line item.

some pointers would be great

Thanks

Timc

 
Reply With Quote
 
 
 
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      10-29-2005
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> Hello All
>
> I am writing an asp app for generating quotes. What I would like to do
> is allow the user to edit the quote lines without having to open a new
> page each line.
>
> On the quote I have created a loop which goes through the recordset
> and populates a sort of data grid. Can you use javascript or
> something so the user can click an edit icon on the appropriate line
> item in the grid and edit the line details there instead of having
> to open another page to edit the line item.
>


Sure, but this has nothing to do with ASP. You should ask any followup
questions in a clientside newsgroup such as
microsoft.public.scripting.jscript.

The idea is to use the onclick event of the icon/button to replace the
read-only elements in which the data of a particular row is displayed with
textboxes*. You would probably provide another icon/button in each row to
"commit" the changes, ie, replace the textboxes with readonly elements
containing the new data from the textboxes. Then you would probaly have a
submit button to submit the changes to a server-side page which can process
them.

*Alternatively, you could choose to display the data in disabled textboxes,
using the onclick event of the icon/button to toggle the textboxes between
disabled and enabled

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagrid on load; replace all double single quote to single quote to display to user Eric Layman ASP .Net 3 04-14-2007 07:16 AM
replacing strange quote with standard quote Stimp ASP .Net 2 09-20-2006 10:01 AM
Single Quote Versus Double Quote In A href link knee-dragger@hotmail.com HTML 3 06-13-2006 12:42 AM
Snapshot restraint - edit, edit, edit Alan Browne Digital Photography 24 05-10-2005 10:15 PM
Snapshot restraint - edit, edit, edit Patrick Digital Photography 0 05-06-2005 10:53 PM



Advertisments