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

LoadingPanel Issue

6 Answers 58 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Karthik Kantharaj
Top achievements
Rank 1
Karthik Kantharaj asked on 20 Mar 2012, 11:03 AM
Hi Guys

Below is my code
My loading panel is not working
Can you guys correct me where i did mistake

<script type="text/javascript">
            function showLoader() {
                var loadingPanel = $find('<%=loadingPanel.ClientID %>')
                var form = '<%=form.ClientID %>';
                loadingPanel.show(form);
            }           
 </script>

<telerik:RadAjaxLoadingPanel ID="loadingPanel" runat="server" Skin="Vista">
    </telerik:RadAjaxLoadingPanel>  
 
<asp:Button ID="uploadAction" CommandName="upload" OnClientClick="showLoader();" Text="{:Upload}" runat="server"></asp:Button>

Karthik.K

6 Answers, 1 is accepted

Sort by
0
Miriam
Top achievements
Rank 1
answered on 20 Mar 2012, 01:29 PM
On your line of code:    var form = '<%=form.ClientID %>';

I think you're missing the $find method:    var form = $find( '<%=form.ClientID %>');
0
Miriam
Top achievements
Rank 1
answered on 20 Mar 2012, 01:59 PM
0
Karthik Kantharaj
Top achievements
Rank 1
answered on 28 Mar 2012, 02:56 PM
Hi Guys,

Thanks for your reply
I dont want any ajax code
i just need a loader image when a button is clicked
and but in this ajax process is happening

Can i get for my requirement in Telerik loading panel?

Karthik.K

0
Karthik Kantharaj
Top achievements
Rank 1
answered on 29 Mar 2012, 04:55 AM
Hi Guys

I completed my requirement

Karthik.K
0
Eyup
Telerik team
answered on 29 Mar 2012, 03:47 PM
Hi Karthik,

I'm glad you solved the issue. You can share your approach if you want.
For more information about  displaying the loading panel explicitly, please refer to this article.

All the best,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Karthik Kantharaj
Top achievements
Rank 1
answered on 30 Mar 2012, 05:15 AM
HI Eyup ,

My requirement was to show loader image during upload and i saw in some post (Telerik Forum) that when uploading it is not possible for loading panel to show up
(If you see below line i upload a file and use telerik upload)

<asp:Button ID="uploadAction" CommandName="upload" OnClientClick="showLoader();" Text="{:Upload}" runat="server"></asp:Button>

So i used a image and when upload button is clicked i showed the image and after loading i removed the image

I got all telerik image from below link

http://www.roostaa.ir/news/images/TelerikImages/

Thanks for all spending your precious time

Karthik.K
Tags
Ajax
Asked by
Karthik Kantharaj
Top achievements
Rank 1
Answers by
Miriam
Top achievements
Rank 1
Karthik Kantharaj
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or