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

show radloadingpanel on client side?

3 Answers 121 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ciaran
Top achievements
Rank 1
Ciaran asked on 20 Nov 2009, 04:11 PM
Hi

Is this possible, I'm already opening the panel with Js , I just want to show the loadingpanel when its opening

 showLoadingPanel(Panel1); 
 
 function showLoadingPanel(sender, args) 
              { 
              var currentLoadingPanel = null
              var currentUpdatedControl = null
               
              currentLoadingPanel =  $find("<%= RadAjaxLoadingPanel1.ClientID %>"); 
              currentUpdatedControl  == args.get_eventTarget(); 
              currentLoadingPanel.show(currentUpdatedControl); 
               
              } 
 
 

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 20 Nov 2009, 04:31 PM
Hi Ciaran,

Could you please elaborate a bit on your scenario? What panel are you opening and how, also when do
you need to call the showLoadingPanel method?

Best wishes,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ciaran
Top achievements
Rank 1
answered on 23 Nov 2009, 09:49 AM
Iana

I'm using the onclicked function for the radmenu and when i show the correct Panel , Iw ant to show the loading Panel


function

 

onClicked(sender, eventArgs)

 

{

 

 

var name = eventArgs.get_item().get_text();

 



                    if (name == "Panel1")  
                {  
                    document.getElementById("Panel1").style.display='block';  
                    document.getElementById("Panel2").style.display='none';  
                    document.getElementById("Panel3").style.display='none';  
                    document.getElementById("Panel4").style.display='none';  
                      
                       
                       showLoadingPanel();  
                } 
}
0
Iana Tsolova
Telerik team
answered on 25 Nov 2009, 03:58 PM
Hello Ciaran,

Attached is a sample project illustrating how you can show the loading panel on RadMenu item click. Check it out and let me know if any issues arise.

Regards,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
Ciaran
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Ciaran
Top achievements
Rank 1
Share this question
or