LoadingPanel is not giving an error message (Microsoft JScript runtime error: Sys.InvalidOperationException: A Control in already associated with the element)

4 posts, 0 answers
  1. Fouad Kayali
    Fouad Kayali avatar
    3 posts
    Member since:
    Dec 2009

    Posted 24 May 2010 Link to this post

    Hi all,

    I am using RadAjaxLoadingPanel and RadAjaxPanel with a Button which takes long time processing (Communicating with external machine), this is the code.

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server">
          <img alt="Loading..." src="loading.gif">
    </telerik:RadAjaxLoadingPanel>

    <telerik:RadAjaxPanel ID="RadAjaxPanel1" LoadingPanel="RadAjaxLoadingPanel1">
          <asp:Button ID="btn" runat="server" OnClick="btnClick" Text="Clieck here" />
    </telerik:RadAjaxPanel>

    protected void btnClick(object sender, EventArgs e)
    {
          Foo() // function takes long time
    }

    After pressing this button it shows me this error message
    Microsoft JScript runtime error: Sys.InvalidOperationException: A Control in already associated with the element

    Is there anyway else to show loading image?????

    another thing, that I tried to show loading with Gridview but it doesn't come. how to show loading with the GridView events???

    Thank in advance
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 26 May 2010 Link to this post

    Hi Fouad,

    Could you please test the application by using regular asp Update Panel instead of radAjaxPanel?Also please elaborate a little bit more on the issue you are facing. Does the error appear if the RadAjaxLoadingPanel is removed from the page?


    Kind regards,
    Maria Ilieva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. dlewis
    dlewis avatar
    13 posts
    Member since:
    Aug 2009

    Posted 04 Aug 2010 Link to this post

    I've got the exact same problem and:

    1.  I'm using the UpdatePanel
    2.  The Error disappears when "RadAjaxLoadingPanel is removed from the page"

  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Aug 2010 Link to this post

    Hello,

    Could you please open a regular support ticket and send us runnable application which demonstrates the error. We will test it locally and advise you further.


    Sincerely yours,
    Maria Ilieva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top