I am using Q3 2009 ASP.Net AJAX controls. I am trying to mimic sample with Grid, client site binding and Order/Details navigation.
I have created my own WCF Service based on GridMasterDetailService.cs from samples.
My Model is inside namespace like: AAA.BBB.CCC.Model and has been generated as MyDBNameDataContext class.
The service uses slightly different namespace: AAA.BBB.CCC.MyService. Inside it I am making call like:
RadGrid.GetBindingData("AAA.BBB.CCC.Model.MyDBNameDataContext", ....)
However any time I call it it errors out with "Could not find the type specified in the ContextTypeName property of LinqDataSource ''."
- I have tried all combinations of naming the data context by cutting out all sub-names from the full namespace
- I have compiled and run the sevice with "new MyDBNameDataContext()" just before the GetBindingData call - it works.
Does anybody know what I am missing? Is there any special keyword that GetBindingData requires?
On more thing: my WCF service is not hosted inside IIS. I have noticed that the inner exception comes from System.Web library. So additional question is: can the RadGrid.GetBindingData be hosted outside IIS?
Thanks.
I have created my own WCF Service based on GridMasterDetailService.cs from samples.
My Model is inside namespace like: AAA.BBB.CCC.Model and has been generated as MyDBNameDataContext class.
The service uses slightly different namespace: AAA.BBB.CCC.MyService. Inside it I am making call like:
RadGrid.GetBindingData("AAA.BBB.CCC.Model.MyDBNameDataContext", ....)
However any time I call it it errors out with "Could not find the type specified in the ContextTypeName property of LinqDataSource ''."
- I have tried all combinations of naming the data context by cutting out all sub-names from the full namespace
- I have compiled and run the sevice with "new MyDBNameDataContext()" just before the GetBindingData call - it works.
Does anybody know what I am missing? Is there any special keyword that GetBindingData requires?
On more thing: my WCF service is not hosted inside IIS. I have noticed that the inner exception comes from System.Web library. So additional question is: can the RadGrid.GetBindingData be hosted outside IIS?
Thanks.