Infragistics Editable WebGrid controls require manual migration

Application code for Infragistics WebGrid controls require manual updating after migrating your application. 

Migration effects

The code for your Infragistics Editable WebGrid controls is not changed by the Migration Wizard.

What you should do

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&amp;Field=" & CStr(cellIndex) & "&amp;Record=" & CategoriesTable.GetKeyValue(row.DataKey).ToString & "'>"

with

row.Cells.Item(cellIndex).Text = "<img src='..\Shared\ExportFieldValue.aspx?Table=" & CType(Me.Page, BaseApplicationPage).Encrypt("Categories") & _

"&amp;Field=" & CType(Me.Page, BaseApplicationPage).Encrypt(CStr(cellIndex)) & "&amp;Record=" & CType(Me.Page, BaseApplicationPage).Encrypt(CategoriesTable.GetKeyValue(row.DataKey).ToString) & "'>"

C#, replace:

cellItem.Text = @"<img src='..\Shared\ExportFieldValue.aspx?Table=Categories&amp;Field=" + (cellIndex).ToString() + "&amp;Record=" + CategoriesTable.GetKeyValue(row.DataKey).ToString() + "'>";

with:

cellItem.Text = @"<img src='..\Shared\ExportFieldValue.aspx?Table=" +

((BaseApplicationPage) this.Page).Encrypt("Categories") +

"&amp;Field=" + ((BaseApplicationPage) this.Page).Encrypt((cellIndex).ToString()) + "&amp;Record=" + ((BaseApplicationPage) this.Page).Encrypt(CategoriesTable.GetKeyValue(row.DataKey).ToString()) + "'>";

Use your specific table or database view name instead of "Categories".

See Also

Version 5.1 Application Migration