VS2005, LLBLGEN 2.5, Vista
I have used LLBLGEN PRO 2.5 with many projects and haven't ran into this problem before. Also , I've been using Telerik's RadGrid Control along with LLBLGEN without problems as well. Today I upgraded to the latest version of Telerik's RadGrid Q3 2007 and now I cannot use the RadGrid control without getting the attached error when I try to access the Property Builder (Where you edit and convert column into templates). Im using an ObjectDataSource. The project builds and the grid populates with the select query. If I remove all methods from the Business Object that returns data from the DB I do not get the error message.
I'm going to contact Telerik about this but Im checking to see if you guys possiably know whats causing this? You guys always have a fix.
<body>
<form id="form1" runat="server">
<div>
<rad:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
AllowAutomaticUpdates="True" DataSourceID="ObjectDataSource1" GridLines="None">
<MasterTableView AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" DataKeyNames="RentalID">
<Columns>
<rad:GridBoundColumn DataField="Street" HeaderText="Street" SortExpression="Street"
UniqueName="Street">
</rad:GridBoundColumn>
<rad:GridBoundColumn DataField="Zip" HeaderText="Zip" SortExpression="Zip" UniqueName="Zip">
</rad:GridBoundColumn>
</Columns>
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
</MasterTableView>
</rad:RadGrid>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetRentals"
TypeName="TestSite.Rental" InsertMethod="AddRental" >
<InsertParameters>
<asp:Parameter Name="street" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
</div>
</form>
</body>
namespace TestSite
{
public class Rental
{
public static RentalCollection GetRentals()
{
RentalCollection rentals = new RentalCollection();
rentals.GetMulti(null);
return rentals;
}
public static void AddRental(string street)
{
RentalEntity rental = new RentalEntity();
rental.Street = street;
rental.Save();
}
}
}
<appSettings>
<add key="Main.ConnectionString" value="Data Source=SERV5;Initial Catalog=TEST;Integrated Security=True"/>
</appSettings>