Click here to Skip to main content
15,887,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Any alternate Technic to bind image in rad grid.

What I have tried:

how to bind country flag Depending upon the country name.i am saving country image in var binary and retrieving data but when we populate 50 thousand record in one time then grid is slow.so i want any alternate Technic. i am retrieving data in data table and assign it to grid view.
Posted
Updated 24-Dec-16 23:26pm
Comments
Kornfeld Eliyahu Peter 25-Dec-16 4:50am    
The real question is why to populate 50,000 records to a grid? Where is the super-human can handle that much info in one run?

Simple solution: don't try to populate a grid with 50,000 rows.

How useful to a user do you think that is going to be? How long is it going to take him to find the data he is actually interested in?
Not only is it a major waste of system resources - and slow as heck - it's almost designed to frustrate and annoy the user. So page it, filter it, search it: but never try to present more than about a hundred rows to the user. If you do, people will very quickly come to hate your software and won't use it.
 
Share this answer
 
Comments
Kornfeld Eliyahu Peter 25-Dec-16 5:23am    
And even a hundred is too large for most... In the company we work for we ordered a research (some company asked our customers)... The result is below 15...
Hi, about the country images may be stored as a sprite image, link: Flag Sprites[^] and then use css to determine which flag should be loaded...you can find many examples of this.

I'm not familiar with RAD controls but loading 50K records in any type of grid will always lead to performance issues. You should page the data to load ex 10 or 100 records at a time. Also probably RAD grid offers filtering and sorting features where these work good with paging.

The user will find searching through 50K records a challenging task and most often the majority of the time only a few records will be used. Think of search engines...you never get to see the million records matched because probably you only need to look at top 10 to find your answers.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900