Disable the controls using radajaxloadingpanel

10 posts, 0 answers
  1. Giri
    Giri avatar
    13 posts
    Member since:
    Oct 2008

    Posted 21 Nov 2008 Link to this post

    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.
      
  2. Dimo
    Admin
    Dimo avatar
    8450 posts

    Posted 21 Nov 2008 Link to this post

    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.
  3. Arthur
    Arthur avatar
    30 posts
    Member since:
    Apr 2008

    Posted 08 Feb 2009 Link to this post

    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
  4. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 09 Feb 2009 Link to this post

    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.
  5. Arthur
    Arthur avatar
    30 posts
    Member since:
    Apr 2008

    Posted 09 Feb 2009 Link to this post

    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
  6. Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 10 Feb 2009 Link to this post

    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.
  7. chinh
    chinh avatar
    6 posts
    Member since:
    Sep 2012

    Posted 19 Dec 2011 Link to this post

    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

  8. Antonio Stoilkov
    Admin
    Antonio Stoilkov avatar
    530 posts

    Posted 20 Dec 2011 Link to this post

    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
  9. chinh
    chinh avatar
    6 posts
    Member since:
    Sep 2012

    Posted 22 Dec 2011 Link to this post

    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.



  10. Antonio Stoilkov
    Admin
    Antonio Stoilkov avatar
    530 posts

    Posted 27 Dec 2011 Link to this post

    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
Back to Top