﻿<?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?)  » Difficult to do data binding</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 10:51:10 GMT</lastBuildDate><ttl>20</ttl><item><title>Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18105.aspx</link><description>Hi,&lt;br&gt;
I am facing difficulty to do data binding. Sometime, VS just couldn't find the businessobjects declared in ApplicationBasePage. Sometime, VS prompted error "OutOfRangeException" when I try to specify WebBBS.BusinessObjectName or during opening the web project.&lt;br&gt;
&lt;br&gt;
I ever tried to recompile, reopen the project in order to overcome this problem. Sometime it helps but sometime it doesn't.&lt;br&gt;
&lt;br&gt;
May I know what could it cause? I need 30 mins in order to specify a single WEBBBS which is very frustrated.&lt;br&gt;
&lt;br&gt;
Please advice&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Thu, 14 Aug 2008 10:50:35 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18492.aspx</link><description>Hi,&lt;br&gt;
I am able to make the project I uploaded to reproduce the exception. It is a bit tricky...&lt;br&gt;
&lt;br&gt;
1. Open default.aspx in visual designer (Visual tab instead of split or source)&lt;br&gt;
2. Open default.aspx.cs in code editor.&lt;br&gt;
3. Close solutions. (File | Close Solution)&lt;br&gt;
4. Open same project again from start page | recent projects list.</description><pubDate>Thu, 14 Aug 2008 10:50:35 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18488.aspx</link><description>On my machine the project opens without error, runs without error, and I can can change the BusinessObjectName of the WebBBS without error regardless&amp;nbsp;of how many times I build / rebuild the project. I noticed you had a breakpoint on the fill of the CustomersBO. I'm not sure if you were having problems with that, but for what it's worth the BO fills just fine on my machine. &lt;/P&gt;&lt;P&gt;I did have to change the references to use devexpress 8.1.1 rather than 8.1.6 since I don't have 8.1.6 on this machine, but I don't think that would affect the outcome. &lt;/P&gt;&lt;P&gt;Does this error occur on both of your machines? Or just your work machine?&lt;/P&gt;&lt;P&gt;And you have loaded the most recent StrataFrame beta build, correct?</description><pubDate>Thu, 14 Aug 2008 09:06:17 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18486.aspx</link><description>Hi,&lt;br&gt;
I have attached same project. When open it, I will hit Exception error.&lt;br&gt;
&lt;br&gt;
Please rectify. Thank you</description><pubDate>Thu, 14 Aug 2008 04:16:43 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18226.aspx</link><description>Hi,&lt;br&gt;
I have retest it using personal machine and it works. I will restest it at office tomorrow.&lt;br&gt;
However, the IndexOutOfRangeException issue is still happen. I got to restart VS in order to solve it.&lt;br&gt;
&lt;br&gt;
1. Open Project&lt;br&gt;
2. Try to change WebBBS.BusinessObjectName using VS property grid.&lt;br&gt;
3. If no error happen, recompile solution&lt;br&gt;
4. Repeat step 2, error IndexOutOfRange occured.&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Wed, 30 Jul 2008 10:15:28 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18221.aspx</link><description>Let us know because it all works using the sample you provided on this side.&amp;nbsp; If you have any additional information then please let us know.&amp;nbsp; Thanks.</description><pubDate>Wed, 30 Jul 2008 09:11:59 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18209.aspx</link><description>Hi,&lt;br&gt;
Very sorry to inform that, the error still happen, but this time is just "Exception" but same stacktrace. And we found that, if we have *.aspx pre-opened while project load this error will occured (exception &amp; NullReferenceException).&lt;br&gt;
&lt;br&gt;
I will test this again using another machine later.&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Tue, 29 Jul 2008 22:56:51 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18203.aspx</link><description>Thanks for posting the sample, we were able to get to the bottom of it. It was throwing a null reference if there was no active page when testing for the page type. The issue is resolved in the (just posted) latest release of the 1.6.6 beta. :cool:&lt;P&gt;&lt;A href="http://forum.strataframe.net/Topic15687-22-1.aspx"&gt;http://forum.strataframe.net/Topic15687-22-1.aspx&lt;/A&gt;</description><pubDate>Tue, 29 Jul 2008 15:25:09 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18197.aspx</link><description>Hi,&lt;br&gt;
I have attached screenshot of the error.&lt;br&gt;
While open project, I hit error_NullReference.jpg. It was working fine when I try to change BusinessObjectName or datasource for aspxgridview. Then I recompile the solutions then I hit error_Indexoutofrange when try to select businessobjectname. I restarted VS, I hit error_nullreference again, but error_indexoutofrange gone.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description><pubDate>Tue, 29 Jul 2008 11:35:32 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18193.aspx</link><description>Can't reproduce.&amp;nbsp; You are welcome to post a sample that fails in your environment and I will see if it happens on my side and try to reproduce, but the steps that you are providing did not work.&amp;nbsp; Also, we have fixed the WBBS issue that you were fighting.&amp;nbsp; So be sure to download that update through the Posted Releases section of the forum.</description><pubDate>Tue, 29 Jul 2008 10:37:55 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18153.aspx</link><description>Hi,&lt;br&gt;
It happened to all of the machines we are using (eval).&lt;br&gt;
&lt;br&gt;
What we did is just created BO which stored in Business library project, then in applicatiobbasepage we have the following&lt;br&gt;
&lt;br&gt;
[codesnippet]&lt;br&gt;
private _myBO = new MyBO();&lt;br&gt;
public MyBO MyBO&lt;br&gt;
{&lt;br&gt;
    get { return _myBO; }&lt;br&gt;
    set { _myBO = value; }&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
private _myXBO= new MyXBO();&lt;br&gt;
public MyXBO MyXBO&lt;br&gt;
{&lt;br&gt;
    get { return _myXBO; }&lt;br&gt;
    set { _myXBO= value; }&lt;br&gt;
}&lt;br&gt;
[/codesnippet]&lt;br&gt;
&lt;br&gt;
After that we compile webapplication and also Business Library project. Drop webBBS on aspx, try to specify webBBS.BusinessObjectName. Sometime BOs are listed sometime not. Sometime I would hit error outofRangeException.&lt;br&gt;
&lt;br&gt;
After many tries of recompile, problem might be gone.&lt;br&gt;
Tried to restart VS, open the solution then will hit error nullexception.</description><pubDate>Mon, 28 Jul 2008 19:58:00 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Difficult to do data binding</title><link>http://forum.strataframe.net/FindPost18134.aspx</link><description>I have never experienced or even heard of this type of behavior.&amp;nbsp; I am also entirely uncertain as to how this is occuring and where the error is appearing.&amp;nbsp; Can you give steps or provide a sample that shows how to reproduce?&amp;nbsp; Thanks.</description><pubDate>Mon, 28 Jul 2008 14:23:35 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>