How do you get rid of the LoadingPanel?

2 posts, 1 answers
  1. Joel Kraft
    Joel Kraft avatar
    92 posts
    Member since:
    Jan 2004

    Posted 26 Mar 2014 Link to this post

    I'm excited to see what we are going to be able to do with this control in the future, but it seems like it needs a bit of refinement to make it to prime time.

    I am wondering how to disable the creation and use of the freaking LoadingPanel.  I am using ImageGallery with LoopItems="true", and have nice animations defined, but the transitions are absolutely jarring because a LoadingPanel appears for a split second before every animation. Since the gallery is set to loop, and it has loaded all of it's images, there is absolutely no reason for a loading panel to be displayed at all. Since I didn't add it, I don't see why it would be there at all, either. The panel is displayed momentarily if you press the next or previous image buttons, as well. You can actually see it on your demo pages quite clearly.

    As far as I'm concerned, the fact that it tries to show the LoadingPanel for an image that is available is a bug.

    I tried setting RadImageGallery.LoadingPanel.Enabled = false, but that doesn't do anything. Setting RadImageGallery.LoadingPanel.Visiable = false breaks the slideshow altogether.  I tried RadImageGallery.LoadingPanel.Controls.Clear() and that does nothing ether. How can I get rid of it?

  2. Answer
    Kostadin avatar
    1733 posts

    Posted 31 Mar 2014 Link to this post

    Hi Joel,

    You could use the following approach to hide the LoadingPanel.
    protected void Page_Load(object sender, EventArgs e)
        this.RadImageGallery1.LoadingPanel.OnClientShowing = "function (sender, args) { args.set_cancelNativeDisplay(true); }";

    I will log this as an improvement and our developers will implement a property which will allows you to hide the LoadingPanel.


    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

Back to Top