C# Tutorials and offshore development in India
Tutorials Resources Forum Reviews Communities Interview Jobs Projects Training Videos


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...


Birthday Greetings
Learn Windows 7: Get the best performance out of your system using this Windows 7 Optimization Tricks   Windows 7 looks has a significant improvement in performance and features of its pre-launced version, Windows Vista.But if you want to get the very best performance possible, you should make some adjustments to eliminate some system resources Programs and Features. This guide will show you some good ways to increase the performance of your PC without upgrading your hardware.



Forums » .NET » .NET »

How to create menu,submenu with shirnk and expand mode in asp.net 2.0(c#)


Posted Date: 06 Aug 2007      Posted By:: sivasankarchakkravarthy    Member Level: Silver    Member Rank: 0     Points: 2   Responses: 2



Plz any one give me solution for this...urgent




Responses

Author: Pradeep Kintali     Member Level: Gold      Member Rank: 265     Date: 06/Aug/2007   Rating: 2 out of 52 out of 5     Points: 2

Create a User Control for this one.

In DataBase create a Table called Menus

column names.
ColumnId ColumnName PageURL ParentId
-------- --------- -------- --------
1 FILE file.aspx 0
2. ADD add.aspx 1
3. DELETE DELETE.aspx 1
4 TOOLS Tools.aspx 0
5. SHOWALL SHOWALL.aspx 4

take above table withd data

and build the logic
get the data from Data base and prepare a recursive function.

first get all the Menu Items whose Parent id =0

and iterate for each parent Id for Child Items.

Add those items as childs to the parent.

u can do this using a HTMLTable.



Author: Vasudevan Deepak Kumar     Member Level: Diamond      Member Rank: 32     Date: 06/Aug/2007   Rating: 2 out of 52 out of 5     Points: 2

Did you check http://www.dynamicdrive.com/?

----
Deepak Vasudevan
Thamizhth Thendral



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : search related problem(plz help)
Previous : change internet option through java script
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



About Us    Contact Us    Privacy Policy    Terms Of Use