Can LLBLGen be used with ObjectDataSource in ASP.NET?
The reason I ask is that a grid I am using doesn't seem to work with LLBLGenPRODataSource2.
I am specifically talking about WebGrid 5.0 from intersoftpt.com which BTW is IMHO one of the best asp.net grids out there right now.
Is there something that can be changed in LLBLGenPRODataSource2 to make it more compliant with such a grid? And irrelevant of the answer to the previous question, what can I do right now to make the two work together?
All I do is replace a GridView that is bound to a LLBLGenPRODataSource2 control with a WebGrid that is bound to the exact same LLBLGenPRODataSource2 control. The former works like a charm, the latter spews out the following error:
Server Error in '/WebSite4' Application.
Cannot create an abstract class.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: Cannot create an abstract class.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[MissingMethodException: Cannot create an abstract class.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.Activator.CreateInstance(Type type) +6
?.?.?(WebGrid ?, DataSet ?, IEnumerable ?) +1203
ISNet.WebUI.WebGrid.WebGrid.ConvertIEnumerableToDataTable(IEnumerable obj) +238
ISNet.WebUI.WebGrid.WebGrid._GetConvertedDataSource(Object dataSource) +145
ISNet.WebUI.WebGrid.WebGrid.GetConvertedDataSource(Object dataSource) +32
ISNet.WebUI.WebGrid.WebGrid._BindDataSourceControl(Boolean forceBind) +830
ISNet.WebUI.WebGrid.WebGrid.BindDataSourceControl() +26
ISNet.WebUI.WebGrid.WebGrid.OnInitializeDataSource(Object dataSource) +967
ISNet.WebUI.WebGrid.WebGrid.OnLoad(EventArgs e) +237
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210