.Net 4.5 Model Binding in Widget

Posted by Community Admin on 04-Aug-2018 15:14

.Net 4.5 Model Binding in Widget

All Replies

Posted by Community Admin on 06-Sep-2013 00:00

Has anyone gotten .net 4.5 model binding to work in a Sitefinity web forms widget? I'm just trying to bind to a repeater. In my widget .cs file I have a method returning an IQueryable of my object, in the ascx file I'm listing my method as the SelectMethod and using my object type as the ItemType. Intellisense in the .ascx file picks up on my object properties so I can <%#: Item.Whatever %> but when I run the widget, I get an error saying it can't find my SelectMethod.

Thanks,

-Ben

Posted by Community Admin on 10-Sep-2013 00:00

Hello, Ben

Could you provide us with the code of the widget and some scenario on how I could reproduce the error.

Regards,
Ivan A. Petrov
Telerik

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed