Version

Known Issues and Limitations ASP.NET 14.2

Known Issues and Limitations Summary

Known issues and limitations summary chart

The following table summarizes the known issues and limitations of the Infragistics® ASP.NET 2014.2 release. Detailed explanations of all of the issues and the existing workarounds are provided after the summary table.

Legend

  • Workaround - Workaround available

  • No Workaround - No known workaround

  • Fix Planned - Fix planned

WebDataGrid

Issue Description Status

WebDataGrid ’s drop-down provider does not support multiselection.

noworkaround.png

When there is an unbound column and OnInitializeRow event is handled, Paging and Sorting features don’t work as expected.

noworkaround.png

Value of drop down item is displayed if thecell value isn’t on current pageof the DropDownProvider even though the text is known from the grid cell. The feature is supposed to work like this because the WebDataGrid is databound to values that are different from what is expected to be displayed in the cells as content.

workaround.png

In scenarios where the RowEditTemplate contains WebTextEditors and is manually opened for the adding row the values of the WebTextEditors are not cleared after editing finishes. As a result when entering edit mode again the previous values are retained.

workaround.png

WebHierarchcialDataGrid

Issue Description Status

_ HierarchicalDataGrid’s _ rows does not render past depth bigger than 200 in Firefox

noworkaround.png

WebTab

Issue Description Status

ViewState is corrupted when you use WebDataTree inside a WebTab

When you use the WebDataTree control inside a WebTab the ViewState is corrupted.

Note

Workaround: In order for this scenario to work you should call InstantiateTemplates() method of the WebTab at the Page_Init().

workaround.png

Cannot access templated controls on postback before the InstantiateTemplates() methods is called.

Controls that are instantiated inside a template cannot be accessed before the InstantiateTemplates() method of the WebTab is called.

Note

Workaround: In order for this scenario to work you should call InstantiateTemplates() method of the WebTab before attempting to access a control from the template.

workaround.png

WebUpload / WebCaptcha

Issue Description Status

When you drop the WebUpload /WebCaptcha control into the design pane it will automatically add the control’s httpModules and httpHandlers in the system.web section. That configuration is not valid for IIS7 and newer running in integrated mode.

workaround.png

Infragistics Excel Engine

Issue Description Status

Breaking Change

As part of the 14.2 release we implemented the INotifyPropertyChanged and INotifyCollectionChanged interfaces in several Excel classes including Workbook, Worksheet, the settings classes and WorksheetCollection on all platforms.

This was done as part of the notification and undo infrastructure needed for WPF platform, however, it may affect ASP.NET platform temporarily, and will be removed in the October 2014 service release as an optimization.

fix.png

WebDataGrid

WebDataGrid ’s drop-down provider does not support multiselection, because all get/set value operations while exchange values between WebDropDown editor and grid, do target only single selection. If editor somehow got multiple selected items, then that will corrupt editor provider and result will be unpredictable.

Unbound column and OnInitializeRow event handler

UnboundColumn + OnInitializeRow event handled, does not work well with Paging and Sorting features enabled. Unexpected behavior may occur when using those in combination, such as the Rows collection being sorted before an unbound record is being updated, thus resulting in an exception.

Drop-down item text is not correctly retrieved by WebDataGrid DropDownProvider when paging is enabled

Value of drop down item is displayed if the cell value isn’t on current page of the DropDownProvider even though the text is known from the grid cell. The feature is supposed to work like this because the WebDataGrid is data bound to values that are different from what is expected to be displayed in the cells as content.

The workaround for that issue is to implement a custom logic on initial load which handles the rows initializing and fills the Text property of the cells in the specified column by querying the web drop-down data source by the specified value. In the following code you can see an example how to accomplish that.

In ASPX:

<EditorProviders>
      <ig:DropDownProvider ID="ddp1">
            <EditorControl
                  ClientIDMode="Predictable"
                  EnableAutoFiltering="Server"
                  AutoFilterResultSize="2"
                  AutoFilterTimeoutMs="1000"
                  EnableAnimations="
                  EnablePaging="true"
                  PageSize="4"
                  AutoFilterQueryType="Contains"
                  DataSourceID="SqlDataSource2"
                  DropDownContainerMaxHeight="200px">
                  <DropDownItemBinding TextField="CAtegoryName" ValueField="CategoryID" />
            </EditorControl>
      </ig:DropDownProvider>
</EditorProviders>

The workaround:

In ASPX:

<ig:WebDataGrid AutoGenerateColumns=" ID="WebDataGrid1" runat="server"  OnInitializeRow="WebDataGrid1_InitializeRow">

In C#:

 protected void WebDataGrid1_InitializeRow(object sender, RowEventArgs e)
    {
        if (!this.Page.IsPostBack)
        {
            if (e.Row.Index < 8)
            {
                e.Row.Items[3].Text = texts[e.Row.Index];
            }
        }
    }
      // This is only an example. Actual usage would have to extract these from a data source provider.
    string[] texts = new string[] {
        "Beverages",
        "Condiments",
        "Confections",
        "Dairy Products",
        "Grains/Cereals",
        "Meat/Poultry",
        "Produce",
        "Seafood"
    };

[[#_Ref39873598813]]

When programmatically opening the RowEditTemplate for the adding row, the values of the WebTextEditors used in the template will be persisted

In scenarios where the RowEditTemplate contains WebTextEditors and is manually opened for the adding row the values of the WebTextEditors are not cleared after editing finishes. As a result when entering edit mode again the previous values are retained.

In C#:

 protected void Page_PreRender(object sender, EventArgs e)
    {
        var templateContainer=  this.WebDataGrid.Behaviors.EditingCore.Behaviors.RowEditTemplate.TemplateContainer;
                WebTextEditor editor =(WebTextEditor)templateContainer.FindControl( "control_Item");
                   editor.Value = null;
                                }

HierarchicalDataGrid

Expanded rows of HierarchicalDataGrid do not render past a certain depth in Firefox

HierarchicalDataGrid’s rows does not render past depth bigger than 200 in Firefox caused by limitation in DOM Depth in this particular browser. This limitation is also documented by the Firefox here.

WebUpload/ WebCaptcha

HTTP error 500.22 is thrown when you add the WebUpload/WebCaptcha from the toolbox for IIS7 and above

There are few ways to handle this issue. First you can just add the control without using the toolbox and add manually the HTTP Modules and Handlers. If you prefer dropping the control to the designer, you can either, go and manually change the modules to the system.webServer/modules section or you can use the AppCmd from the command line to migrate your application following the instructions in the error message.

Same goes for the HTTP Handler of the WebCaptcha control.