This is a migrated thread and some comments may be shown as answers.

[Solved] Loading Image on PanelBar click

3 Answers 166 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
newbie
Top achievements
Rank 1
newbie asked on 11 Jun 2008, 05:00 PM
I have a panelbar on my master page.
Click of each link in the panel bar opens a grid. Some of the grids have large number of records so they take longer to load.
I want to show a loading image when the user clicks the panelbar till the time the page is loaded.

I tried putting the panlebar in an AJAXPanle and using a loadingpanel with it but that didn't work.
How can I do that?

2) Also, my grid takes the user to a deatil page.
When i click on the grid the loading image shows but when the control is transfered to the detail page, before the page is rendered there is a blank screen.
I want to show a loading image there as well till the time the page is rendered.

I hope I am making sense.
Any ideas?

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 16 Jun 2008, 12:11 PM
Hi,

One possible approach in your case is to show/hide the loading panel as needed explicitly.
I hope this suggestion helps.

Best wishes,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
newbie
Top achievements
Rank 1
answered on 16 Jun 2008, 04:41 PM
That approach doesn't work for me.

Maybe I'll explain my scenario once again.

On my masterpage I have a PanelBar.
When i click on any item in the panel bar it takes me to a different page which contains a grid.(PanelBar uses a websitemap)
If there are a large number of records in the grid it takes a long time for the new page to load.
I want to show the users a loading panel when they click on the panel bar, so that they know that the page is getting processed.

I tried the approach given the the example below but that does not show the loading panel image.
Also Panel2 is always visible.

Please help.
0
Yavor
Telerik team
answered on 17 Jun 2008, 06:24 AM
Hello,

At this point, in order to properly address the issue at hand, I would suggest that you open a formal support ticket, and send us a small project, incorporating your logic, and showing the setup. We will review it locally, and advise you further.

All the best,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
newbie
Top achievements
Rank 1
Answers by
Yavor
Telerik team
newbie
Top achievements
Rank 1
Share this question
or