This is a migrated thread and some comments may be shown as answers.

Selected Items Empty After Upgrade

2 Answers 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 18 Jan 2011, 05:09 PM
Hi, I just upgraded my controls in my working DNN 5.6 project from 2010.3.1215.35 to 2010.3.1317.35.  After the upgrade the SelectedItems collection is always empty.  I have a grid control and respond to NeedDataSource.  The data displays properly and I can select a few rows after which I enter a button event handler where I retrieve the selected items.  Inspection of the control shows the data source is null, however, a 2nd request for data is never issued by the control.  After doing nothing in the button's event handler the page is displayed with the original data.

Telerik.Web.UI is not in the GAC

The proper dll version is in the DNN\bin folder

I cleared all Telerik.Web.UI dlls from C:\Windows\Microsoft.NET

I have a updated the binding redirect:
        <bindingRedirect oldVersion="2010.2.929.35" newVersion="2010.3.1317.35" xmlns="urn:schemas-microsoft-com:asm.v1" />

This was working perfectly before the upgrade.  Any ideas as to what happened and how to fix it?

2 Answers, 1 is accepted

Sort by
0
Ed
Top achievements
Rank 1
answered on 18 Jan 2011, 07:54 PM
I used the Telerik Upgrade Wizzard to roll back to 2010.3.1215.35 and changed the binding redirect to reflect this.  I should be back where I was but the same problem exists.  I even tried rolling back to a saved version from yesterday, prior to any upgrade, and its still does not work.  I'm at a loss.
0
Ed
Top achievements
Rank 1
answered on 18 Jan 2011, 09:10 PM

Turns out I removed a JavaScript function that was being called when a row was selected and deselected.   This went undetected in Firefox.  I ran it under IE just to check and IE broke into the JavaScript debugger showing me the missing function.   It works now and I’ve upgraded the controls.  I'm assuming the error was causing the grid control to not complete its processing and hence some attributes were not colored in with data.

I think the lesson for anyone else that sees a null DataSource in a grid control is to first run the app under IE and look for exceptions and other issues.


Tags
General Discussions
Asked by
Ed
Top achievements
Rank 1
Answers by
Ed
Top achievements
Rank 1
Share this question
or