This project is read-only.

easycontrol on the sidebar

Topics: Developer Forum
Nov 21, 2007 at 3:11 PM
Do you know howto put an easycontrol on the sidebar.
Regards
Apr 3, 2008 at 5:33 AM
Has anyone been able to do this?

thanks,
Apr 3, 2008 at 8:21 AM
Edited Apr 3, 2008 at 8:27 AM
You can't, since it's not a Section.

What you can do is add a new UserControl with the behaviour you wish.
Reference it in Skin.skin

Eg.
Create a new usercontrol ExpandMenu.ascx and add what you want in this file.

In the Skin.skin file, add line
<%@ Register tagprefix="cc1" Tagname="ExpandMenu." src="~/ExpandMenu.ascx" %>
Add this line where you want to place it. --> <cc1:ExpandMenu runat="server" ID="ExpandMenu1" />

Now you can use the control by adding it where you like.

Hope this helps
Apr 3, 2008 at 11:58 PM
Thanks for the info, I'll work with that.

Is there any way to get a sectioncontrol that is placed in the sidebar, the LinkList for example, to only be displayed on certain pages? I only want it to be displayed on the page that I add it to, not to all pages.

thanks,
Apr 4, 2008 at 8:16 AM


CarlCarlson wrote:
Thanks for the info, I'll work with that.

Is there any way to get a sectioncontrol that is placed in the sidebar, the LinkList for example, to only be displayed on certain pages? I only want it to be displayed on the page that I add it to, not to all pages.

thanks,


You can, if you have a good knowable in ASP.NET
See my post on how to "Add section wherever you like"
Apr 6, 2008 at 8:22 PM
Ok, thanks.

Also, creating a new user control worked fine for me. Thanks again.