This project is read-only.


Web Forms Model Binding Support


Hi - The following item in a details view seems to break a page with Navigation controls.

..., ItemType = "MyPackage.MyObjectType", ...

I get a

Unable to cast object of type "System.Web.UI.WebControls,EntityDataSourceWrapper" to "MyPackage.MyObjectType".

And it points to the first NavigationHyperlink control in the markup.

Updated to 1.10.

Closed Mar 11, 2015 at 4:12 PM by GrahamMendick
There's been no update for months. Suspect is was a data binding issue not a Navigation one


GrahamMendick wrote Dec 31, 2014 at 5:07 PM


Thanks for getting in touch.

It sounds more like a data binding issue than a Navigation one. Your details view is expecting one type but is getting another.

To help investigate can you remove the NavigationHyperlink from the details view and see if you still get the problem?


GrahamMendick wrote Jan 21, 2015 at 11:44 AM

How're you getting on, have you found out what the problem was?

GrahamMendick wrote Feb 15, 2015 at 2:11 PM

I guess you've resolved the issue? If there's no further comment within the next couple of weeks then I'll close it