Database Driven Nested Menu in ASP.Net

57480 Users read it.
by R.Arockia Jayaseelan (December 12, 2003)

Database Driven Nested Menu in ASP.Net

In this article, I have explained how to create a database driven nested level (N-Level) menus using ASP.Net. Here I am using glue of Database, JavaScript and ASP.Net in a proper combination to develop this menu.

User Rating (93 votes)
49 reviews available | Read the reviews »
Details...
Author(s):R.Arockia Jayaseelan
User Level:Intermediate
Language:VB.NET
Platform:Web
Product(s):VS.NET, SQL Server 2000

 

Database Driven Nested Menu in ASP.Net

Menus provide a structured and accessible route for users to leverage the commands and tools contained in your applications. Proper planning and design of menus will make sure the key functionality of your applications is exposed, and users will not become frustrated as they try to use your applications.

Users often browse menus before looking elsewhere for information about your application. If your menus are well designed, users can organize their understanding of the application by developing a mental model based on the menu organization and content alone.

In this article, I have explained how to create a database driven nested level (N-Level) menus using ASP.Net. Here I am using glue of Database, JavaScript and ASP.Net in a proper combination to develop this menu.

In my previous company, I have developed static menu in ASP; at that time, I am not that much familiar with JavaScript, one of my teammate (Pankajam Chithanan) explained the concept behind static menu generation in ASP using JavaScript, that will help me a lot to develop this Database driven Nested Level menu.

1. DB Design

2. Scripting Implementation

3. .Net Implementation

My menu should like the following.

R.Arockia Jayaseelan

R.Arockia Jayaseelan* Having 6+ Years of experience in Client Server and Web related Technologies.

* Working as a Software Engineer, USA.

See All Postings From R.Arockia Jayaseelan >>

User Reviews

Total of 49 reviews
JavaScript files
Written by avi fauzdar on April 27, 2011

hello sir,i m not find out JavaScript files, so plz sir send my mail js file. it is very urgently .

js files
Written by Tal Meirovich on February 21, 2011

Where are the additional files needed? thanks

Download .js files
Written by ajit ajit on February 14, 2010

Hello Sir, I am not able to locatet the 2 .js files which are included in the code. Please can you help me out with it ? Thanks in advance

RegisterClientScriptBlock is not declared
Written by huri aja on December 31, 2009

i have problem.RegisterClientScriptBlock is not declaredRegisterClientScriptBlock('ClientScript', WriteMenuString)

style is null not an object
Written by christy joan on June 12, 2009

Dear sir, i tried your code with another table,it returns script error 'style is null not an object'. kindly advice

regarding download files
Written by Rajneesh Singh on May 24, 2009

Hi,   Please specify the location of files to be downloaded as I am not getting where these files are attached.  ThanksRajneesh 

Downlaoding .js and .gif files
Written by pandurangarao bavala on July 24, 2008

Hello Sir, I am not able to locatet the 2 .js files which are included in the code. Please can you help me out with it ? Thanks in advance, -pandu

control's location
Written by Abhijeet Beedkar on March 28, 2008

I want to move this control's location as per the size of page. But its static and sticks to a particular location , COuld you please help me in this ? Abhijeet.

Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency