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

Disable the controls using radajaxloadingpanel

9 Answers 300 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Giri
Top achievements
Rank 1
Giri asked on 21 Nov 2008, 06:02 AM
Hi,
    In my page i am using radajaxloading panel so here i want to disable all the controls when this loadingpanel is loaded.In my page i am using four grids,number of buttons,etc. so when this loading panel is loaded i want to disable all the controls in my page and loading panel will only load in the front.I already set the backcolor of all the controls and loadingpanel backcolor will be same and also set transperancy to 30 for loading panel.But still when this loadingpanel loaded all the controls are clearly visible.
  

9 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 21 Nov 2008, 08:02 AM
Hello Giri,

Why would you want to use transparency for the loading panel in this case? If you don't use transparency, all controls will be hidden behind. This is the easiest implementation possible.


Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Arthur
Top achievements
Rank 2
answered on 09 Feb 2009, 03:21 AM
Hi,

   I am currently having a weird experience in using RadAjaxLoadingPanel. I have aRadAjaxPanel that I associated with a RadAjaxLoadingPanel which I explicitly hide/show. Somehow, when the RadAjaxLoadingPanel is displayed, the ASP DropdownList controls that I have in my page are not covered. See this sample screensot. I am not sure why this is happening because all the other controls are "disabled" save the Dropdownlist cotnrols. All my dropdownlist controls behave this way.


Thanks,
Arthur
0
Sebastian
Telerik team
answered on 09 Feb 2009, 09:24 AM
Hi Arthur,

Does this issue appear under IE 6 browser only or can be observed under other browsers as well? If it happens solely under IE 6, note that this browser has a limitation with opacities and asp dropdowns coverage when the RadAjaxLoadingPanel is set as sticky. We invested decent amount of time and efforts to bypass it but so far without much success.

A possible workaround would be to disable the sticky mode for the loading panel.

Kind regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Arthur
Top achievements
Rank 2
answered on 09 Feb 2009, 09:59 AM
Hi Sebastian,

Thank you for the reply. I tested it out with other browsers (Forefox and IE7) and they are working fine. But somehow we didn't use IsSticky property on this one so I'm not really sure what could be causing this. Is there any other work-around for this?

Thanks,
Arthur
0
Pavel
Telerik team
answered on 10 Feb 2009, 09:46 AM
Hi Arthur,

Can you try to upgrade to the latest official version of our controls? I think a similar issue was fixed after the Q3 release.

Greetings,
Pavel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
chinh
Top achievements
Rank 2
answered on 19 Dec 2011, 06:43 AM

Need help:
Base on this demo
http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/explicitshowhide/defaultcs.aspx
I replaced asp button by rad button and it wasn't disable.
How can I disable rad button in this case??
Thanks.
p/s: if i use

var
button = $find("Button1");

    button.set_enabled(false);
my page will reload all elements, not only label

0
Antonio Stoilkov
Telerik team
answered on 20 Dec 2011, 07:17 PM
Hello Chinh,

Calling RadButton set_enabled client method does not cause page reloading. Your issue may come from other place. Could you provide more information on your scenario? You could send a sample code demonstrating the unwanted behavior, we will investigate the issue and let you know what is the reason of this behavior.

Best wishes,
Antonio Stoilkov
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
chinh
Top achievements
Rank 2
answered on 23 Dec 2011, 04:21 AM
thank Antonio!
You're right. "Calling RadButton set_enabled client method does not cause page reloading". But still don't know what wrong with my code. If I use asp button then call
$get("<%= Button.ClientID %>").disabled = true;
It works fine.( button's disable and page doesn't reload)
If change this code to rad button. page reloads and button isn't disable.



0
Antonio Stoilkov
Telerik team
answered on 27 Dec 2011, 09:39 AM
Hi Chinh,

You could try using the code below. When finding rad controls the $find method is used and the RadButton set_enabled(false) disables the button.
$find("<%= Button.ClientID %>").set_enabled(false);

Additionally, I have pasted the RadButton declaration.
<telerik:RadButton ID="Button" runat="server" Text="Button Text" />

Regards,
Antonio Stoilkov
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
Tags
Ajax
Asked by
Giri
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Arthur
Top achievements
Rank 2
Sebastian
Telerik team
Pavel
Telerik team
chinh
Top achievements
Rank 2
Antonio Stoilkov
Telerik team
Share this question
or