Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    May 2007
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    472
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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

  • #3
    New Coder
    Join Date
    May 2007
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 09:05 AM.

  • #4
    Regular Coder
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    472
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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?

  • #5
    New Coder
    Join Date
    May 2007
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #6
    Regular Coder
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    472
    Thanks
    3
    Thanked 0 Times in 0 Posts
    What's the purpose of selecting the records? Delete? Edit?

  • #7
    New Coder
    Join Date
    May 2007
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi there...DELETE the records which are selected

  • #8
    Regular Coder
    Join Date
    Sep 2007
    Posts
    120
    Thanks
    0
    Thanked 3 Times in 3 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •