Page 1 of 1

N-Level category

Posted: Tue Apr 10, 2007 7:06 am
by eshban
Hi everybody,

Can anybody send me the script that how can i display N-level categories in a combo box when updating an item.............

Posted: Tue Apr 10, 2007 8:07 am
by feyd
The code depends greatly on how you supply the information needed to generate such a list. I don't think anyone can guess how you are doing this.

Posted: Wed Apr 11, 2007 12:46 am
by eshban
i have 2 tables named category & categoryref

Category: (catid, catname)

Categoryref: (newid, catid, parentid)


and i have the structure of the page like this:


Category: _______ ( Here all the categories and its sub-categories have 2 be displayed in a combo box like a tree)


Item Title: _______
...
..
.