on 07-10-2007 8:54 AM
Hello guys,
in Standard CategoriesBlock-Control, there are the global variables
public bool ShowName = false;
public bool ShowImage = true;
public bool ShowDescription = false;
set to default values.
My question is how i can set ShowDescription to "true" if i use for example a clone of the OECCategoriesBlock-Plugin and want the Description to be visible?
thanks
Stefan
Hi Stefan,
I'm not completely sure I'm understanding what you are doing.
Normally, you will declare the control in the .aspx or .ascx as follows:
<%@ register tagprefix="np" TagName="cblock" src="controls/CategoriesBlock.ascx"%>
And use it on the page as follows:
<np:cblock id="npcblock" runat="server" Catalog="oec" ParentID="0" BorderWidth="0" CatsPerCol="2"
ShowName="False" ShowImage="True" ShowDescription="True" />
This is the code from ~/catalog/categories.aspx.
So, all you should need to do is set the ShowDescription="True" on the .aspx that the control is on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.