Application code for Infragistics WebGrid controls require manual updating after migrating your application.
The code for your Infragistics Editable WebGrid controls is not changed by the Migration Wizard.
After application migration, manually replace the following lines in your application code-behind files containing Infragistics Editable WebGrid control configurations:
Visual Basic .NET, replace:
row.Cells.Item(cellIndex).Text = "<img src='..\Shared\ExportFieldValue.aspx?Table=Categories&Field=" & CStr(cellIndex) & "&Record=" & CategoriesTable.GetKeyValue(row.DataKey).ToString & "'>"
with
row.Cells.Item(cellIndex).Text = "<img src='..\Shared\ExportFieldValue.aspx?Table=" & CType(Me.Page, BaseApplicationPage).Encrypt("Categories") & _
"&Field=" & CType(Me.Page, BaseApplicationPage).Encrypt(CStr(cellIndex)) & "&Record=" & CType(Me.Page, BaseApplicationPage).Encrypt(CategoriesTable.GetKeyValue(row.DataKey).ToString) & "'>"
C#, replace:
cellItem.Text = @"<img src='..\Shared\ExportFieldValue.aspx?Table=Categories&Field=" + (cellIndex).ToString() + "&Record=" + CategoriesTable.GetKeyValue(row.DataKey).ToString() + "'>";
with:
cellItem.Text = @"<img src='..\Shared\ExportFieldValue.aspx?Table=" +
((BaseApplicationPage) this.Page).Encrypt("Categories") +
"&Field=" + ((BaseApplicationPage) this.Page).Encrypt((cellIndex).ToString()) + "&Record=" + ((BaseApplicationPage) this.Page).Encrypt(CategoriesTable.GetKeyValue(row.DataKey).ToString()) + "'>";
Use your specific table or database view name instead of "Categories".
Version 5.1 Application Migration