v2.6 October 9th, 2009
Adapter template
vs2010
win 7
I get
Error Creating Control - clients'MyCompany.BusinessObjects.Adapter.DatabaseSpecific.DataAccessAdapter,MyCompany.BusinessObjects.Adapter' could not be set on property 'AdapterTypeName'.
on the design grid in vs2010 with an LLBLGenProDataSource2 and a DevExpress AspxGrid.
I think my 'AdapterTypeName' is set correctly, so what else can I check?
here the .ascx code:
<%@ Control Language="C#" Inherits="Examples.DevExpressExample.Module.ViewDevExpressExample"
AutoEventWireup="true" CodeBehind="ViewDevExpressExample.ascx.cs" EnableViewState="true" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="SD.LLBLGen.Pro.ORMSupportClasses.NET20" Namespace="SD.LLBLGen.Pro.ORMSupportClasses"
TagPrefix="llblgenpro" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<llblgenpro:LLBLGenProDataSource2 ID="clients" runat="server" CacheLocation="None"
AdapterTypeName="MyCompany.BusinessObjects.Adapter.DatabaseSpecific.DataAccessAdapter,MyCompany.BusinessObjects.Adapter"
DataContainerType="EntityCollection" OnPerformSelect="ClientDataSource_PerformSelect"
EntityFactoryTypeName="MyCompany.BusinessObjects.Adapter.FactoryClasses.ClientEntityFactory,MyCompany.BusinessObjects.Adapter"
LivePersistence="False" SortingMode="ClientSide">
</llblgenpro:LLBLGenProDataSource2>
<dx:ASPxGridView ID="ASPxGridView1" runat="server" DataSourceID="clients">
</dx:ASPxGridView>
The code works and displays the filled grid correctly. I just want to get into the design time mode and set which columns to display etc using the gui.