hello.. I am having a problem with an ultrawebgrid, updategrid and ajax control. The application works.. it just hangs for a super long time and grabs 50% of the users cpu. when i run without the ajax control, it runs fine.
I am using the following syntax
<asp:UpdateProgress DisplayAfter="500" ID="updateprogress1" runat="server"><ProgressTemplate><div class="upg" style="left: 145px; top: 56px"><center><asp:Image ID="Image1" runat="server" ImageUrl="~/Images/throbber-slow.gif" /><br />Update in progress...<br /></center></div></ProgressTemplate></asp:UpdateProgress>
<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server"><ContentTemplate> <asp:Button ID="BtnShowHide" runat="server" Text="Deliveries" Visible="true" /><br /><asp:Panel runat="server" ID ="pnlNumberDeliveryDates" Visible="False" CssClass="OKPanels" BackColor="White"> <asp:Label runat="server" ID="lblstatus" /><asp:DropDownList Visible="false" ID="txtNumDeliveries" runat="server"><asp:ListItem>1</asp:ListItem><asp:ListItem>2</asp:ListItem></asp:DropDownList><asp:Button ID="BtnSplit" runat="server" Text="Split Delivery" Visible="true" /> <asp:Button ID="btnCancel" runat="server" Text="Cancel" /></asp:Panel> </ContentTemplate></asp:UpdatePanel>
<asp:UpdatePanel runat="server" UpdateMode="always"><ContentTemplate><igtbl:ultrawebgrid></igtbl:ultrawebgrid></contentTemplate></asp:updatePanel>
like i say.. it is 'working' just not in any way that I would put out to the public. any ideas why??
Sorry I can't help but I am having the same issue. In addition, selecting cells gets very slow if the selection is more than few cells acros and down.
I hope there is an answer out there.
Did anyone have any joy on this?
I'm using manual load on demand in a heirarchical grid. The first "postback" inside the update panel works fine but then the grid becomes unresponsive. It's almost like it's initialisation code does not get called.
Sorry. I never got any response on this issue. consequently I had to remove the ajax panel completely.
I would like to heard somebody of the infragistic team...
I have the same/similar problem here is a sample page ... you'll notice the entire page is posting back when you click either button... once you remove the grid it starts to post back asyncronously as it should.
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TestPage.aspx.vb" Inherits="CaseworksWeb.TestPage" %>
<%@ Register Assembly="Infragistics35.WebUI.UltraWebGrid.v8.1" Namespace="Infragistics.WebUI.UltraWebGrid"
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="butSubmit1" EventName="Click" />
</Triggers>
<ContentTemplate>
Name:
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
<asp:Button ID="butSubmit1" runat="server" Text="Submit" OnClick="butSubmit1_Click" /><br />
<asp:Label ID="lblName" runat="server" Text="<br />"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
<igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server">
</igtbl:UltraWebGrid>
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<asp:AsyncPostBackTrigger ControlID="butSubmit2" EventName="Click" />
<asp:Label ID="lblAge" runat="server" Text=""></asp:Label><br />
Age:
<asp:TextBox ID="txtAge" runat="server"></asp:TextBox>
<asp:Button ID="butSubmit2" runat="server" Text="Submit" OnClick="butSubmit2_Click" />
</body></html>
SERVER SIDE
Protected Sub butSubmit1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles butSubmit1.Click
lblName.Text = "Your name is <b>" & txtName.Text & "</b>"
End Sub
If lblName.Text <> "<br />" Then
lblAge.Text = "..and y"
Else
lblAge.Text = "Y"
End If
lblAge.Text = lblAge.Text & "ou are <b>" & txtAge.Text & "</b> years old."