Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-27-2007, 03:49 AM   PM User | #1
cloudy
New Coder

 
Join Date: May 2007
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
cloudy is an unknown quantity at this point
Question asp, function same like the yahoo address book

haloo all......happy new year....
i need some help on tis asp programming..
how cna i do same like the yahoo address book...it will keep the check box value for the email i have checked ..and then when i go to next page, it still keep the value from the first page and i can proceed to checked other email address? how is it work ? and how to code it? plz help...and guide..thanx alot.
cloudy is offline   Reply With Quote
Old 01-03-2008, 05:35 AM   PM User | #2
reubenb
Regular Coder

 
Join Date: Sep 2002
Location: Adelaide, Australia
Posts: 472
Thanks: 3
Thanked 0 Times in 0 Posts
reubenb is an unknown quantity at this point
I'm not sure what you mean, perhaps you can be more specific?

You want to know how to make a page in ASP that keeps "the check box value for the email i have checked ..and then when i go to next page, it still keep the value from the first page and i can proceed to checked other email address"...
What exactly are you referring to?

If you are trying to pass on a variable from one page to another, you could store it in a querystring or in a database or in a session variable (albeit small).

If you can reply with some more specific information, I'd be able to help you out more.

Cheers
reubenb is offline   Reply With Quote
Old 01-03-2008, 07:57 AM   PM User | #3
cloudy
New Coder

 
Join Date: May 2007
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
cloudy is an unknown quantity at this point
Question

You want to know how to make a page in ASP that keeps "the check box value for the email i have checked ..and then when i go to next page, it still keep the value from the first page and i can proceed to checked other email address"...
What exactly are you referring to?----->
yes, that is wat i need to know..if pass using the querystring, then if got 10 records, the URL is look very long already. wat i wan to do is jz like the yahoo address book.
let say page 1 got 10 records, i checked the 5records, then go to 2nd Page, checked another 5records in that page. the 5records from the 1st page still keeping in the list. erm...how ya?
plz guide more..thank you

Last edited by cloudy; 01-03-2008 at 08:05 AM..
cloudy is offline   Reply With Quote
Old 01-03-2008, 08:01 AM   PM User | #4
reubenb
Regular Coder

 
Join Date: Sep 2002
Location: Adelaide, Australia
Posts: 472
Thanks: 3
Thanked 0 Times in 0 Posts
reubenb is an unknown quantity at this point
Okay, that makes sense.

I'm not really sure what you are doing but, so perhaps you can put the variables stored in the first page into the database, and store the primary key variable in a session variable, or in a querystring. Then on the second page, use the session variable/querystring primary key from the database record to go to the next record.

But I dont think that's what you want to do. I would say to make the email addresses into an array and then make it into a session variable, but if there are lots of them, it puts pressure on the server.

Do you know how to do any of the above, and does any of it sound like what you are after?
reubenb is offline   Reply With Quote
Old 01-03-2008, 08:12 AM   PM User | #5
cloudy
New Coder

 
Join Date: May 2007
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
cloudy is an unknown quantity at this point
halo, how to put the lists of email records in the array? using asp or JS?
now, i have a list of records with the checkbox beside. let say 1 Page consist of 10records. when i check the 5 records in the 1st page, then i click on the 2nd page in the pagingnation function and go to 2nd page, the 5 records that i have checked in the 1st page lost already. it cant keep when i navigate to the second page where i wish to cont to check the others records.
tq
cloudy is offline   Reply With Quote
Old 01-04-2008, 09:47 AM   PM User | #6
reubenb
Regular Coder

 
Join Date: Sep 2002
Location: Adelaide, Australia
Posts: 472
Thanks: 3
Thanked 0 Times in 0 Posts
reubenb is an unknown quantity at this point
What's the purpose of selecting the records? Delete? Edit?
reubenb is offline   Reply With Quote
Old 01-04-2008, 12:32 PM   PM User | #7
cloudy
New Coder

 
Join Date: May 2007
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
cloudy is an unknown quantity at this point
hi there...DELETE the records which are selected
cloudy is offline   Reply With Quote
Old 01-04-2008, 12:51 PM   PM User | #8
Whatever Jr.
Regular Coder

 
Join Date: Sep 2007
Posts: 120
Thanks: 0
Thanked 3 Times in 3 Posts
Whatever Jr. is an unknown quantity at this point
Hi,

Try posting your form on page one to the next page.
Loop through the Request.Form collection to define if the checkbox has to be checked.
After you change the checkboxes on the second page, post the form to the same page and perform the appropriate action.

HTH, Tom
Whatever Jr. is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 08:40 PM.


Advertisement
Log in to turn off these ads.