Hello:
I'm running UltraWebGrid as part of version 10.3. We have a control where a user clicks an expand button to open an UltraWebGrid. The user types in a value, then presses a menu button to go to a different page. At that point, the application hangs. This behavior only occurs in IE 9.0.
When I turn on compatiblity view for the site, it functions fine.
What could be causing compatibility view to work but not its normal state? Would upgrading to 11.2 solve this issue? Finally, I've heard that UltraWebGrid may not be supported after the latest release - is this true?
Thanks,
Rob
Peter:
Here is the code snippet for expanding the grid control and server side button click event. Please let me know if anything jumps out at you or if you need anything else. I greaty appreciate your prompt replies!
Expand the Balance Sheet: (Ajax CollapsiblePanelExtender control for expand / collapse the Balance sheet)
Control for collapse / expand the balance sheet:
<cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" CollapseControlID="collapseId" TargetControlID="pnlBalanceSheet" ExpandControlID="collapseId" CollapsedSize="0" ExpandedSize="420" Collapsed="True" AutoCollapse="False" AutoExpand="False" ScrollContents="false" TextLabelID="lblCollabseMsg" CollapsedText="EXPAND +" ExpandedText="COLLAPSE -" ExpandDirection="Vertical">
</cc1:CollapsiblePanelExtender>
Panel control which is expandible:
<asp:Panel ID="pnlBalanceSheet" runat="server" Height="580px">
<table style="width: 100%;">
<tr><td style="width: 310px; padding-left: 10px;">
<igtxt:WebNumericEdit ID="WebNumericEdit1" runat="server" MinDecimalPlaces="None" BackColor="#FFFFCC">
<ClientSideEvents KeyDown="WebNumericEdit1_KeyDown" />
<SpinButtons Delta="0" SpinOnArrowKeys="False" />
</igtxt:WebNumericEdit>
<igtbl:UltraWebGrid ID="UWGStartingBalances" runat="server" OnInitializeLayout="UWGStartingBalances_InitializeLayout" Width="570px" TabIndex="2" >
<Bands>
<igtbl:UltraGridBand>
<Columns>
<igtbl:UltraGridColumn BaseColumnName="Account" IsBound="True" Key="Account">
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn BaseColumnName="Starting Balance" DataType="System.Decimal"
EditorControlID="WebNumericEdit1" IsBound="True" Key="Starting Balance">
<Header>
<RowLayoutColumnInfo OriginX="1" />
</Header>
<Footer>
</Footer>
</Columns>
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
</igtbl:UltraGridBand>
</Bands>
<DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" AllowDeleteDefault="Yes" AllowSortingDefault="OnClient" AllowUpdateDefault="Yes" BorderCollapseDefault="Separate" HeaderClickActionDefault="SortMulti" Name="UWGStartingBalances" RowHeightDefault="20px" RowSelectorsDefault="No" SelectTypeRowDefault="Extended" StationaryMargins="Header" StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed" Version="4.00">
<FrameStyle Width="300px">
</FrameStyle>
<Pager MinimumPagesForDisplay="1">
<PagerStyle BorderStyle="Solid" BorderWidth="1px"> <BorderDetails WidthLeft="1px" WidthTop="1px" /></PagerStyle>
</Pager>
<EditCellStyleDefault BorderWidth="0px"></EditCellStyleDefault>
<FooterStyleDefault BorderStyle="Solid" BorderWidth="1px"> <BorderDetails ColorRight="37, 71, 142" ColorBottom="37, 71, 142" ColorLeft="37, 71, 142" StyleLeft="Solid" StyleRight="Solid" WidthLeft="1px" WidthRight="1px" /></FooterStyleDefault>
<HeaderStyleDefault BackColor="#25478E" ForeColor="White" BorderStyle="Solid" BorderWidth="1px" BorderColor="#25478E" Font-Names="Tahoma,Arial,Verdana" Font-Size="11pt" Font-Bold="true" Height="35px" VerticalAlign="Middle"> </HeaderStyleDefault>
<RowStyleDefault BackColor="White" Height="25px" ForeColor="Black" BorderStyle="Solid" Font-Size="11pt" CustomRules="padding-left:3px;padding-right:3px;" BorderWidth="1px" BorderColor="#25478E" Font-Names="Tahoma,Arial,Verdana" VerticalAlign="Middle"></RowStyleDefault>
<RowAlternateStyleDefault BackColor="#EDEDEF" Height="25px" ForeColor="Black" BorderStyle="Solid" BorderWidth="1px" BorderColor="#25478E" Font-Names="Tahoma,Arial,Verdana">
</RowAlternateStyleDefault><GroupByRowStyleDefault BorderColor="#25478E" BorderStyle="Solid" BorderWidth="1px"></GroupByRowStyleDefault><GroupByBox>
<BoxStyle BorderColor="#25478E" BorderStyle="Solid" BorderWidth="1px"></BoxStyle>
</GroupByBox>
<AddNewBox Hidden="False">
<BoxStyle BorderStyle="Solid" BorderWidth="1px" BorderColor="#25478E"> <BorderDetails WidthLeft="1px" WidthTop="1px" /> </BoxStyle> </AddNewBox>
<ActivationObject BorderColor="37, 71, 142" BorderStyle="Solid" BorderWidth="1px"><BorderDetails WidthLeft="1px" WidthRight="1px" /></ActivationObject>
<FilterOptionsDefault><FilterDropDownStyle BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Tahoma,Arial,Verdana" Font-Size="12px"><Padding Left="2px" /></FilterDropDownStyle><FilterOperandDropDownStyle BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Tahoma,Arial,Verdana" Font-Size="12px" BorderColor="#25478E"><Padding Left="2px" /></FilterOperandDropDownStyle></FilterOptionsDefault>
<ClientSideEvents AfterExitEditModeHandler="UWGStartingBalances_AfterExitEditModeHandler" EditKeyDownHandler="UWGStartingBalances_EditKeyDownHandler" CellChangeHandler="UWGStartingBalances_CellChangeHandler" CellClickHandler="UWGStartingBalances_CellClickHandler" MouseDownHandler="UWGStartingBalances_MouseDownHandler" />
</DisplayLayout>
</igtbl:UltraWebGrid>
</td>
</tr>
</table>
</asp:Panel>
Pressing the menu button: (No Javascript involved for menu click events)
List Control for Menu display:
<li id="liForecast" runat="server"><asp:LinkButton ID="lbtnForecastSetup" runat="server" OnClick="lbtnForecastSetup_Click" Font-Bold="true">Forecast Setup</asp:LinkButton></li>
Server side code for button click event :
protected void lbtnForecastSetup_Click(object sender, EventArgs e)
{ Response.Redirect("ForecastSetup.aspx"); }
Hi Rob,
Thank you for your reply.
Regarding migrating from UltraWebGrid to WebDataGrid/WebHierarchicalDataGrid:
Currently there is no automated process as the controls have different designs and architectures. I would suggest that you explore the features of the DataGrids by visiting our samples repository and documentation at:
http://samples.infragistics.com/aspnet/ComponentOverview.aspx?cn=data-grid
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html
Please feel free to contact Developer Support regarding information and help from migrating from UltraWebGrid to WebDataGrid.
As for the issue you are experiencing in IE9 - from what I can see I would guess that there is some javascript matter involved but in order to be able to provide more insight I would need to see some code. Please provide me some on the structure of your page such as what elements is the grid nested in (update panels etc).
Best Regards,Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support
Thanks for the prompt response. You can see a brief screencast of the behavior here: http://screencast.com/t/uF9AmLfG2A. Note that this does not happen in compatibility view.
Does Infragistics have documentation or an automated process to migrate from UltraWebGrid to WebDataGrid?
In order to be able to provide any feedback I would need to see a sample where the behavior you are describing manifests.
Please note that the UltraWebGrid control is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would strongly suggest that you consider switching to the WebDataGrid/WebHieararchicalDataGrid. More information regarding these controls is available at:
Additional samples demonstrating the features of these grids can be found at:http://samples.infragistics.com/aspnet/
Please feel free to contact me if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support