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
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
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.
1 Attachment(s)
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 :)
Re: HELP needed to design lightweight page
I wouldn't mind getting my hands on that :p
Re: HELP needed to design lightweight page
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