﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WebForms (How do I?)  » WebBusinessBindingSource binding to RadGrid</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 04 May 2026 14:51:54 GMT</lastBuildDate><ttl>20</ttl><item><title>WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24230.aspx</link><description>After installing the 1.6.7 update from 1.6.6 I'm now getting this exception when using WebBusinessBindingSource with a RadGrid</description><pubDate>Wed, 30 Sep 2009 13:05:08 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24788.aspx</link><description>Trent, &lt;br&gt;
I downloaded and installed the latest version of Telerik. &lt;br&gt;
&lt;br&gt;
Using the 2009.2.826.20 version works fine and that's what I'll do going forward. But the 2009.2.826.35 version doesn't seem to be working for me.&lt;br&gt;
&lt;br&gt;
Govinda</description><pubDate>Wed, 30 Sep 2009 13:05:08 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24729.aspx</link><description>I have not been able to reproduce the error since I have modified your project.  Is it possible for you to download the most recent Telerik build and test the project and then work backwards from there?</description><pubDate>Fri, 25 Sep 2009 11:24:46 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24703.aspx</link><description>Hi, &lt;br&gt;
&lt;br&gt;
just following up on my last post. Does it make sense for you to do that test?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Govinda</description><pubDate>Thu, 24 Sep 2009 09:27:41 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24686.aspx</link><description>Hi Trent, &lt;br&gt;
&lt;br&gt;
Thanks for looking into this. I tried your recommendation and I'm still getting that error. I loaded the test project you sent; I changed the references to Telerik.Web.UI  from 2009.2.826.20 to 2008.2.826.35 and the database connection string and ran it. Default.aspx ran fine but WithRadGrid.aspx gave the same error. &lt;br&gt;
&lt;br&gt;
The last 2 digits of the version number represent the .net version it was compiled under (i believe). I'm wondering if you would get the same error if you tested with 2009.2.826.35? You should be able to find this assembly in the Bin35 directory under [C:\Program Files\Telerik\RadControls for ASPNET AJAX Q2 2008]. Can you please test this?&lt;br&gt;
&lt;br&gt;
[InvalidOperationException: This is a single-use enumerator and cannot be reset.]&lt;br&gt;
   MicroFour.StrataFrame.Business.Enumerator.MoveNext() +130&lt;br&gt;
   MicroFour.StrataFrame.UI.Web.Enumerator.MoveNext() +95&lt;br&gt;
   Telerik.Web.UI.AdvancedEnumerator.MoveNext() +40&lt;br&gt;
   Telerik.Web.UI.GetEnumerator&gt;d__0.MoveNext() +95&lt;br&gt;
   Telerik.Web.UI.GridDataTableFromEnumerable.FillDataTableFromEnumerable(IQueryable enumerable) +176&lt;br&gt;
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData35() +3864&lt;br&gt;
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData() +626&lt;br&gt;
   Telerik.Web.UI.GridResolveEnumerable.Initialize() +32&lt;br&gt;
   Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized() +20&lt;br&gt;
   Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, IEnumerable enumerable, Boolean CaseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) +151&lt;br&gt;
   Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) +129&lt;br&gt;
   Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) +383&lt;br&gt;
   Telerik.Web.UI.GridTableView.get_ResolvedDataSource() +141&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thank You,&lt;br&gt;
Govinda</description><pubDate>Mon, 21 Sep 2009 14:00:12 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24673.aspx</link><description>Govinda,&lt;/P&gt;&lt;P&gt;One thing that I have learned over the years when dealing with web applications is that at times, the web.config is the root of many issues.&amp;nbsp; Combine that with weak typing and a typo here or there and it becomes hard to tell where the problem actually resides.&lt;/P&gt;&lt;P&gt;First, there was a configuration declaration causing an issue within the web.config file.&amp;nbsp; The declarations where actually correct in the sense that there were no typos.&amp;nbsp; However, certain AJAX components, such as the RadScriptManager, will update the config at times and through the use of some designer links (the little arrow at the top right when the control is selected).&lt;/P&gt;&lt;P&gt;At any rate, there were some version conflicts.&amp;nbsp; Note that I got the exact error that you were receiving right off of the bat, but I had to change the references as you are running an older version of Telerik AJAX than I am.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Correcting the error:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open the web.config file.&lt;/LI&gt;&lt;LI&gt;Comment out the &amp;lt;configSections&amp;gt;&lt;BR&gt;&lt;BR&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/476469e2-4af4-4212-9ad2-80a1.png"&gt;&lt;BR&gt;&lt;/LI&gt;&lt;LI&gt;If you run now, you will receive a different error indicating that the field "id" doesn't belong to the data source.&amp;nbsp; This is due to a type somewhere.&amp;nbsp; I didn't go to the extent of determining the column where the typo existed.&amp;nbsp; I just cleared the data source and re-bound it to include all columns.&lt;/LI&gt;&lt;LI&gt;After making this correction (the typo in the grid columns), if you run you will now see the data within the RadGrid as you have intended.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I have attached the corrected solution.&amp;nbsp; However, the references have been changed to 2009.2.826.20 to match my current version of Telerik.&lt;/P&gt;&lt;P&gt;So the good news is that there is no bug and your current version of SF will work just fine.&amp;nbsp; Hope this helps! :)</description><pubDate>Sun, 20 Sep 2009 12:08:09 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24670.aspx</link><description>Working on this morning and I will let you know what I find.  We finally got a full license from Telerik which will make it easier to support you when these types of things come up.  I just wanted to apologize for the delay on this post.  You have been a saint waiting for an answer and I will get you one quickly.  Thanks.</description><pubDate>Sun, 20 Sep 2009 10:35:41 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24645.aspx</link><description>Hi Trent,&lt;br&gt;
 &lt;br&gt;
Any status on this? Is the project that I uploaded usable? I'm pulling my hair trying to find workarounds for this.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Govinda</description><pubDate>Wed, 16 Sep 2009 10:58:39 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24616.aspx</link><description>Trent, &lt;br&gt;
&lt;br&gt;
here is a project that reproduces the error I'm getting and uses the StrataFrameSample database. There are 2 pages, Default.aspx and WithRadGrid.aspx. Default uses the WBBS with a .net GridView and WithRadGrid uses WBBS with RadGrid. Click the "Fill Data" LinkButton to load the bound Businessobject with data from the dbo.Orders table. &lt;br&gt;
&lt;br&gt;
Thanks in advance for your attention to this.&lt;br&gt;
&lt;br&gt;
Govinda</description><pubDate>Fri, 11 Sep 2009 10:16:00 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24472.aspx</link><description>Sorry, about the delayed response.&lt;br&gt;
&lt;br&gt;
We have not been able to reproduce the error.  Could you please post a sample as I may be doing something different than you.  If you could use the StrataFrameSample database that would be good also.  But any sample that is easy to load and reproduce the error would be helpful.  Thanks.</description><pubDate>Wed, 02 Sep 2009 10:04:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24444.aspx</link><description>Hi Trent, &lt;br&gt;
&lt;br&gt;
is there an update on this? Did you get a chance to setup that test machine with the Telerik trial?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Govinda</description><pubDate>Tue, 01 Sep 2009 13:22:31 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24297.aspx</link><description>Thanks Trent, &lt;br&gt;
&lt;br&gt;
We would appreciate any help you could provide with this. It's really a problem for us.&lt;br&gt;
&lt;br&gt;
Govinda</description><pubDate>Tue, 25 Aug 2009 09:45:33 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24272.aspx</link><description>You should not be the only person using a WBBS on a Telerik grid.  So this is something that we will have to add to the "things to look at" list and download Telerik onto a Virtual Machine.  So this may be a slightly longer turn-around, but I do want to take a look and see what is happening.  Thanks.</description><pubDate>Mon, 24 Aug 2009 09:44:18 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24255.aspx</link><description>Trent, &lt;br&gt;
&lt;br&gt;
I was able to run that test that you described. The binding to a plain GridView DID work with Strataframe. I also included a page with the RadGrid in the same situation and got the same error. So I guess this means it's Telerik's RadGrid that's doing something SF doesn't like. Is the Strataframe team inclined to fix things like this?&lt;br&gt;
&lt;br&gt;
If you want to run the project, let me know if you need me to send the database and telerik dll.&lt;br&gt;
&lt;br&gt;
Thank You,&lt;br&gt;
Govinda</description><pubDate>Fri, 21 Aug 2009 10:17:10 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24254.aspx</link><description>I think what's happening is that the project template is inserting references to 1.6 in the web.config file.</description><pubDate>Fri, 21 Aug 2009 09:41:33 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24253.aspx</link><description>[quote][b]Govinda Berrio (08/21/2009)[/b][hr]It looks like the wrong assembly versions are being referenced... I[/quote]&lt;br&gt;
&lt;br&gt;
Yeap, your project is referencing the old assemblies.  Try deleting the references to the MicroFour assemblies and add them again. That should fix it, if not then try to locate all MicroFour assemblies and delete them, and re-install StrataFrame.</description><pubDate>Fri, 21 Aug 2009 09:34:56 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24252.aspx</link><description>Hi, &lt;br&gt;
just thought I would show this result after dragging a WBBS from the toolbar to the design surface. This is a brand new project I'm creating to test the WBBS with the GridView. It looks like the wrong assembly versions are being referenced... I'm not sure. This is probabaly unrelated, just thought I would mention it here.&lt;br&gt;
&lt;br&gt;
[See screen shot attached]</description><pubDate>Fri, 21 Aug 2009 09:25:56 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24244.aspx</link><description>Sorry, I have not been around lately.  Actually I am not included to go straight to the SF update did this.  I do not have a Telerik license, but the very first thing that I would do in testing this is see if the error persists using a DataGridView.  This is generally out litmus test to see if something else could be in the mix.  It appears that the TeleRik grid is trying to reset the Enumerator, which is not allowed, but there could be something else in the mix before we go straight to "it is the Telerik grid."  I do recall a while back having to take something special into account for the Telerik grid, but I cannot recall exactly what it was.&lt;br&gt;
&lt;br&gt;
Let me know if this test works.  if so, then we need to isolate a sample with the Telerik grid that you can send me and then I will have to download a trial from Telerik to test it.</description><pubDate>Thu, 20 Aug 2009 10:57:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24237.aspx</link><description>Hi,&lt;br&gt;
&lt;br&gt;
any word on this error. Should I try some other testing?&lt;br&gt;
&lt;br&gt;
Thank You</description><pubDate>Wed, 19 Aug 2009 12:02:17 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24233.aspx</link><description>Trent, &lt;br&gt;
&lt;br&gt;
I installed the latest and greatest 1.7.0.1. Still getting the same error above. Any ideas?&lt;br&gt;
&lt;br&gt;
Thank You</description><pubDate>Tue, 18 Aug 2009 15:59:55 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24232.aspx</link><description>Well, first you should load the 1.7.0.1 build versus a beta build.  After that, then we can see if you still receive any type of exception.</description><pubDate>Tue, 18 Aug 2009 13:31:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: WebBusinessBindingSource binding to RadGrid</title><link>http://forum.strataframe.net/FindPost24231.aspx</link><description>the exception: &lt;br&gt;
Exception Details: System.InvalidOperationException: This is a single-use enumerator and cannot be reset.&lt;br&gt;
&lt;br&gt;
   MicroFour.StrataFrame.Business.Enumerator.MoveNext() +130&lt;br&gt;
   MicroFour.StrataFrame.UI.Web.Enumerator.MoveNext() +95&lt;br&gt;
   Telerik.Web.UI.AdvancedEnumerator.MoveNext() +40&lt;br&gt;
   Telerik.Web.UI.GetEnumerator&gt;d__0.MoveNext() +95&lt;br&gt;
   Telerik.Web.UI.GridDataTableFromEnumerable.FillDataTableFromEnumerable(IQueryable enumerable) +176&lt;br&gt;
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData35() +3871&lt;br&gt;
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData() +626&lt;br&gt;
   Telerik.Web.UI.GridResolveEnumerable.Initialize() +32&lt;br&gt;
   Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized() +20&lt;br&gt;
   Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, IEnumerable enumerable, Boolean CaseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) +149&lt;br&gt;
   Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) +129&lt;br&gt;
   Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) +383&lt;br&gt;
   Telerik.Web.UI.GridTableView.get_ResolvedDataSource() +141&lt;br&gt;
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +46&lt;br&gt;
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +491&lt;br&gt;
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57&lt;br&gt;
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114&lt;br&gt;
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31&lt;br&gt;
   MicroFour.StrataFrame.UI.Web.WebBusinessBindingSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +8&lt;br&gt;
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142&lt;br&gt;
   Telerik.Web.UI.GridTableView.PerformSelect() +4&lt;br&gt;
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73&lt;br&gt;
   Telerik.Web.UI.GridTableView.DataBind() +239&lt;br&gt;
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82&lt;br&gt;
   Telerik.Web.UI.RadGrid.DataBind() +58&lt;br&gt;
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82&lt;br&gt;
   System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22&lt;br&gt;
   Telerik.Web.UI.RadCompositeDataBoundControl.OnPreRender(EventArgs e) +12&lt;br&gt;
   Telerik.Web.UI.RadGrid.OnPreRender(EventArgs e) +28&lt;br&gt;
   System.Web.UI.Control.PreRenderRecursiveInternal() +80&lt;br&gt;
   System.Web.UI.Control.PreRenderRecursiveInternal() +171&lt;br&gt;
   System.Web.UI.Control.PreRenderRecursiveInternal() +171&lt;br&gt;
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842&lt;br&gt;</description><pubDate>Tue, 18 Aug 2009 12:53:20 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item></channel></rss>