How to make left side menus
-
Hello friends, I'm entering the ASP.Net technology World and I have some beginer questions, so please, don't be too hard ;) Ok, I need to do a "left side" menu. I have a table with main categories and other table with subcategories related to its main categories. In the old ASP I just iterate with two "for", one for the main categories containing the other for the sub-categories belonging to the current category. Quite easy, just put the ASP code in the right part of my page and I have my menu. But in ASP.Net and the code-behing pages I don't know how to o this, because I can't put the ASP.Net code embebed into the HTML code. I know this should be a very thumb questoin but....everybody has a begining :) Thanks a lot
-
Hello friends, I'm entering the ASP.Net technology World and I have some beginer questions, so please, don't be too hard ;) Ok, I need to do a "left side" menu. I have a table with main categories and other table with subcategories related to its main categories. In the old ASP I just iterate with two "for", one for the main categories containing the other for the sub-categories belonging to the current category. Quite easy, just put the ASP code in the right part of my page and I have my menu. But in ASP.Net and the code-behing pages I don't know how to o this, because I can't put the ASP.Net code embebed into the HTML code. I know this should be a very thumb questoin but....everybody has a begining :) Thanks a lot
Have a look at this http://www.codeproject.com/jscript/dhtml_treeview.asp[^]
Thomas