I'm trying to create a content conlib item called 'homeRightSidebar' to put some HTML content into. Following the instructions here: http://help.ablecommerce.com/mergedProj ... htm#sample
When I create my control and add it to the site, it does not show up in the list of available controls to choose. Is there a step I'm missing?
Thanks,
Greg
Add ConLib item to list of available controls on layout page
-
- Commander (CMDR)
- Posts: 129
- Joined: Thu Oct 19, 2006 5:33 pm
Re: Add ConLib item to list of available controls on layout page
Layout manager will only list controls for sidebars which implement the CommerceBuilder.UI.ISidebarControl interface. The "CommerceBuilder.UI.ISidebarControl" is an empty interface, you just need to add it to class definition, something like:
Code: Select all
public partial class homeRightSidebar: System.Web.UI.UserControl, ISidebarControl
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
-
- Commander (CMDR)
- Posts: 129
- Joined: Thu Oct 19, 2006 5:33 pm
Re: Add ConLib item to list of available controls on layout page
Worked perfect, thanks!