Hi Chan,
I downloaded your sample and did the following:
1. Opened and converted project in VS2010, I did not update the project to use a newer .net target platform
2. Changed the Microfour References to the Microfour dll's you supplied. The solution would then build without error
3. Changed the Global.asax to point to my Northwind DB
4. Built the solution
5. Ran the application and got the error below:
Method not found: 'MicroFour.StrataFrame.Business.BusinessBindingSource WBBSEnumerator.get_BBS()'.
Source File: C:\chank\NotRefresh\Common\BaseWBBS.cs Line: 49
6. Modified BaseWBBS and commented out the code below base.OnUnload(e)
public class BaseWBBS : MicroFour.StrataFrame.UI.Web.WebBusinessBindingSource
{
#region " Private Fields "
private bool _autoDispose = true;
#endregion
#region " Public Properties "
/// <summary>
/// Method to set gridview to auto dispose datasource
/// </summary>
public bool AutoDispose
{
get
{
return this._autoDispose;
}
set
{
this._autoDispose = value;
}
}
#endregion
protected override void OnUnload(EventArgs e)
{
base.OnUnload(e);
/*
if(this.AutoDispose && this.DataView != null
&& this.DataView.CurrentEnumerator.BBS != null)
{
this.DataView.CurrentEnumerator.BBS.Dispose();
}
*/
}
}
}
7. Rebuilt and ran the application and the clicking on the fill button worked as expected,
I suspect the initial error is due to a different strataframe dll being picked up at run time on my machine, however the fix suggests to me that the issue is with your version.
Hope this helps,
Andy
ps. The format change in this post from point 6 onwards is unintentional - I tried but couldn't overcome it in the editor!