Results 1 to 7 of 7

Thread: HELP needed to design lightweight page

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    102

    HELP needed to design lightweight page

    1. which is lightweight and better way of design ?
    A dropdownlist with 500 records OR a text box with ajax auto complete ?
    but if i use the auto complete then i have to 1) validate the data and 2) also fetch a ID of the record and keep in a variable


    2. which is light weight and better way of design ?
    a. repeater control with custom paging and sorting
    b. Gridview with custom paging and sorting

    data display is in tabular format only

    regards sara

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: HELP needed to design lightweight page

    Hey.

    In my opinion, the best approach would be as follows:

    1. Is there any way of reducing the number of options that you need to display. 500 seems like a lot.

    2. The GridView supports paging out of the box, so go for that.

    Gary

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: HELP needed to design lightweight page

    1. Autocomplete. Even though you're going to have to make a call, calls aren't that expensive and it's still going to be less data than 500 list items.

    2. If it's going to be tabular format anyways, then it doesn't make a difference which one you use - you're going to end up with tables in either case; the repeater gives you more control over what is rendered, that's about it. So considering that you want paging and sorting as well, it'll be faster if you use the GridView since it can do the paging/sorting work for you.

  4. #4
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Re: HELP needed to design lightweight page

    I had to create a CITY autocomplete list (with states/regions, country and country flag). It looks like the file attached:

    If you need help with something like this, let me know
    Attached Images Attached Images  

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: HELP needed to design lightweight page

    I wouldn't mind getting my hands on that

  6. #6
    Hyperactive Member dnanetwork's Avatar
    Join Date
    Oct 2007
    Location
    Mumbai
    Posts
    349

    Re: HELP needed to design lightweight page

    same here!

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    102

    Re: HELP needed to design lightweight page

    Thank you gep13, mendhak , Serge for your replies.

    Serge that is an amazing bit of work.
    I would love to do something like it

    regards sara

Posting Permissions

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



Click Here to Expand Forum to Full Width