I have a web page where I'm using an Infragistics UltraWebGrid Control. I've created an event handler (see code below). The reason I'm using this code-behind code is because I can't get javascript to update the grid cell correctly. We've tried everything under the sun here except for the right solution...Duh! Anyway, when the event fires, it literally takes at least 2 seconds before the cell updates. It does update and it updates successfully but the response time is terrible. Anyone have any ideas why this might be happening. A couple of programmers think it has to do with AJAX.
Code:Private Sub UG_MarketStatis_UpdateCell(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.CellEventArgs) Handles UG_MarketStatis.UpdateCell If e.Cell.Key = "Market_Data_Amt" Then If e.Cell.Row.Index = 0 Then e.Cell.Value = FormatPercent(CDbl(e.Cell.Text) / 100, 0) Else e.Cell.Value = FormatCurrency(CDbl(e.Cell.Value), 0) End If End If End Sub




Reply With Quote