Hi guys
I was wondering if any of you know, how to set the number of Columns & Rows in CategoryGridPage (just like the FeaturedProductGrid).
It displays 3 cols by 5 rows as default. There are _Cols and _Rows in the control which are not public, however setting them to different values
then default (3 by 5) seems to have no effect.
Thank you in advance.
Number of Columns & Rows in CategoryGridPage
Re: Number of Columns & Rows in CategoryGridPage
Edit Website/ConLib/CategoryGridPage.ascx.cs file and locate following lines of code in it.
simply update these values 3 and 5 according to your requirements, save it and you are done with this.
Code: Select all
private int _Cols = 3;
private int _Rows = 5;
Re: Number of Columns & Rows in CategoryGridPage
Thanks Mazhar for your reply, but I already mentioned in my original post that changing these values has no effect on the number of displayed columns and rows, it just displays items in 3 columns, no matter what you set them. The total item displayed is changed though to the cols x Rows, but number of columns are always 3 .
Also, I was wondering you can tell me how to show a Goto/Jump page for ecah category, meaning user can enter a page number in a box and press go button, so they jum to a page , in cases that there are many pages.
Thanks in Advance.
Also, I was wondering you can tell me how to show a Goto/Jump page for ecah category, meaning user can enter a page number in a box and press go button, so they jum to a page , in cases that there are many pages.
Thanks in Advance.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Number of Columns & Rows in CategoryGridPage
You probably have to change the % and/or columns in the .ascx file. It probably says 33% columns 3, something like that.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Number of Columns & Rows in CategoryGridPage
Nevermind, It was more user error.
Re: Number of Columns & Rows in CategoryGridPage
Hi I know its an old post, but it might help someone else......
Judy was correct, search for 'RepeatColumns=' in the ASCX file.
Judy was correct, search for 'RepeatColumns=' in the ASCX file.