using ajax to show data in multiple labels one by one...

  • Thread starter Thread starter Biranchi Narayan Panda
  • Start date Start date
B

Biranchi Narayan Panda

Hello,

I've 20 labels in a 2x10 table on a page. for each label, data comes by
individual queries. (total 20 queries for the page.)

it takes about 30-40 seconds for the page to load, and it's not comfortable
for the user to see blank page.

I want that each cell will show loading.gif images. As and when data comes
from query, the images should go visible=false, and the label shuol display
the values one by one.

How do I do this task using ajax?

Please assist with some ground-level example.

Thanks
 
Hello,

I've 20 labels in a 2x10 table on a page. for each label, data comes by
individual queries. (total 20 queries for the page.)

it takes about 30-40 seconds for the page to load, and it's not comfortable
for the user to see  blank page.

I want that each cell will show loading.gif images. As and when data comes
from query, the images should go visible=false, and the label shuol display
the values one by one.

How do I do this task using ajax?

Please assist with some ground-level example.

Thanks

In this case, I would say, you don't ASP.NET here. You can display a
"normal" table with empty cells. Every cell could be assigned to show
an animated gif. All requests shoud be implemented using Ajax. If you
google, you can find a lot of different examples of how to implement
it. For example, here is one of them

http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

Hope this helps
 
Thank you Alexey,

I'm a kind of beginner and wasn't able to understand the example properly.
It would be a great help if you mail me a simple asp.net project of single
page and 2-3 labels. please help, as this is important for me.

Thank you
 
Back
Top