an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 11/25/2008 10:46:06 AM By lukezy. 11 replies.
Page 1 of 2 (12 posts) << First < Prev 1 2 Next > Last >> 
10/23/2008 4:16:22 AM
Spen
Posts: 8
Joined: 10/23/2008
Cutom User Control
Hi
 
I need to add several customer user controls to my project (store section).
 
I am using version 2.5. I noticed this article in the blog (http://www.dotshoppingcart.com/View/Article/DotShoppingCart%20Blog/Customization.aspx)  but this does not work for your latest version as file ="/Controls/Blocks/BlockEditor.ascx does not exist.
 
Could you please tell me how to do this for the latest version of the suite?
 
Thanks
 
Spen
10/23/2008 9:48:21 AM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Re: Cutom User Control
Hi
 
I need to add custom usercontrols as well for v2.5? Has anybody got the solution?
 
Thanks 
10/23/2008 11:18:10 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Cutom User Control
Check here.
DotShoppingCart Staff
10/23/2008 3:12:56 PM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Re: Cutom User Control
Thanks Lukezy
 
That worked
10/24/2008 2:34:07 AM
Spen
Posts: 8
Joined: 10/23/2008
Re: Cutom User Control
That's great, Lukezy, and has worked perfectly.
 
Thanks a lot.
 
Spen
11/21/2008 6:33:25 AM
quarterhorses
Posts: 27
Joined: 8/23/2008
Re: Cutom User Control
I am still confused on this. The article talks about creating a generic block, not Controls/Blocks/BlockEditor.ascx. Isn't this file specific?
11/21/2008 11:29:17 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Cutom User Control
I am not sure what your question is. Could you please elaborate?
DotShoppingCart Staff
11/21/2008 12:09:04 PM
quarterhorses
Posts: 27
Joined: 8/23/2008
Re: Cutom User Control
Ok,
The file BlockEditor.ascx is not in the commercial version. This was my question, where is it? I found it in the Open Source version and copied it into my project. I am now getting the error:
 
Error 3 'DotShoppingCart.Commercial.Core.BlockUserControl' does not contain a definition for 'MoveForwardEnabled' and no extension method 'MoveForwardEnabled' accepting a first argument of type 'DotShoppingCart.Commercial.Core.BlockUserControl' could be found (are you missing a using directive or an assembly reference?) C:\test\Web\Controls\Blocks\BlockEditor.ascx.cs 87 55 C:\test\Web\
 
So the commercial core is missing something here??? Now my question is, how do I get this to work?
 
Tod
 
11/21/2008 12:20:38 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Cutom User Control
BlockEditor.ascx was obsolete since the commerical edition has been changed to build the page editor on top of JQuery. The open source edtion will be upgraded to use JQuery as well when it gets a V3 update.
 
This article "Add custom user control" explains everything that you need to know to create a custom user control. Please follow that article.
DotShoppingCart Staff
11/21/2008 3:22:41 PM
quarterhorses
Posts: 27
Joined: 8/23/2008
Re: Cutom User Control
Actually, I am not trying to "create" a custom control. I am trying to follow http://www.dotshoppingcart.com/View/Article/DotShoppingCart%20Blog/Customization/104.aspx
 
I downloaded the zip file and put the code in my project and it errors on <font color="#0000ff" size="2"><font color="#0000ff" size="2">BlockEditor.ascx because it isn't there. So, maybe my question should be, how do I correct the code from the above blog so it works. Thats all I want is just have the category menu working.
 
Tod
 
11/24/2008 6:32:51 PM
quarterhorses
Posts: 27
Joined: 8/23/2008
Re: Cutom User Control
Please don't forgot about me. I would like to get this menu thing working. I downloaded the code from the blog and it chokes on the BlockEditor.
 
Tod
Page 1 of 2 (12 posts) << First < Prev 1 2 Next > Last >>