Version: ASP.NET 1.1
Compatibility: ASP.NET 1.1
Category: ASP.NET
There are various approaches for creating header and footer for a site.
Most of the time there is a mode of creating a static menu for header and footer. Time comes when looking at the same menu over and over again bores a user or at least the client. Why not give the client a menu where he can have fun and can make changes the way he wants?
There are almost countless methods of creating a dynamic menu and displaying it on our presentation layer. JavaScript, DHTML, XML and many other scripts come to our aid for creating a menu for header and footer. Being an ASP person, I have tried to create a menu using ASP.net (C#) and XML that is easily understandable and handy too. I came across a header/footer sample on the net that allowed you to add the menu to your page without having to add any ascx control. This inspired me to create this sample application that can do the thing without ascx.
Using the code
Unzip the files to a folder named HeaderFooter. Create a virtual directory with your IIS named HeaderFooter. In your browser open the page using following address: http://localhost/HeaderFooter/index.aspx You will find three class files that are responsible for this beautiful menu work.
CLICKHERE TO DOWNLOAD SOURCE CODE AND ARTICLE
0 comments:
Post a Comment