Hello,
I am working on a web site that needs a subset of the features of AbleCommerce (a basket, product fullfillment, cc transactions, etc.).
When I try to integrate Basket.aspx into my existing VS 2005 project, I found that I needed to add the dependencies (I added all of them [the ones found in the bin/ folder] just in case) and to include the ~/Layouts folder.
When I try to compile the project, I get a lot of compilation errors, especially from the AdminPanel.ascx.cs and EditScriptlet.ascx.cs files. The error messages usually indicate that certain variables do not exist for that page. For example, for the AdminPanel.ascx.cs page, the compiler cannot find the variables for "PagePath" and "PagePath2", even though the IDE shows that they exist using IntelliSense, and they exist in the ascx file.
Any help would really be appreciated. I am currently evaluating this software, and would like to see if it will meet my needs.
Thanks.
Integrate Basket.aspx
Re: Integrate Basket.aspx
Can you please explain how you have setup your project and how do you want to include only the 'Basket.apsx' page to your project?
I would have started by creating a Web Site for AC7 in IIS and then I would have chosen in my existing VS solution File->Add->Existing Web Site and selected the newly created AC7 website.
I would have started by creating a Web Site for AC7 in IIS and then I would have chosen in my existing VS solution File->Add->Existing Web Site and selected the newly created AC7 website.
Re: Integrate Basket.aspx
Some master pages in Layout folder also makes use of the App_Code/PageHelper.cs so add that also. In Bin folder you should have
//BIN
AjaxControlToolkit.dll
CommerceBuilder.Configuration.dll
CommerceBuilder.dll
CommerceBuilder.Web.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.ObjectBuilder.dll
Microsoft.Web.Preview.dll
Validators.dll
Also edit the web.config for AJAX configurations.
//BIN
AjaxControlToolkit.dll
CommerceBuilder.Configuration.dll
CommerceBuilder.dll
CommerceBuilder.Web.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.ObjectBuilder.dll
Microsoft.Web.Preview.dll
Validators.dll
Also edit the web.config for AJAX configurations.