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
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