472,971 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,971 software developers and data experts.

creating dynamic menus with submenus from sql

I've got a problem with asp.net i am trying to make a menu control. and have searched the web for serveral controls but they don't work correctly.

I am pretty new to asp.net building. What am i looking for. i am looking for code to make a dynamical menu with submenus The menu items are stored in a MS SQL Table and when by loading the page the items will be created. i have made a asp table. i want my menu on the left cell, in the middle cell i want to change my pages to the menu item choosen.

This is what my page look like right now
<form id="Form1" method="post" runat="server">
<asp:Table id="Table1" runat="server" Height="72px" Width="944px">
<asp:TableRow>
<asp:TableCell>
<asp:linkbutton id="btnLogOut" style="Z-INDEX: 102; LEFT: 8px; TOP: 8px" runat="server" Width="80px"
Height="8px">Logout</asp:linkbutton>&nbsp;</asp:TableCell>
<asp:TableCell>
<asp:textbox id="txtUsername" style="Z-INDEX: 101; LEFT: 112px; TOP: 8px" runat="server" Width="144px"
Height="24px"></asp:textbox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<uc1:Menu id="Menu1" runat="server"></uc1:Menu>
</asp:TableCell>
<asp:TableCell>
<uc1:messages id="Messages1" runat="server"></uc1:messages>
</asp:TableCell>
<asp:TableCell>test</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
</body>

so for an instance i want to change the messages to Sent items page how can i do that?
It would be great if some one can give me some examples of making menus and how to change the page.
and is it possible to do it all from the code behind?

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Nov 19 '05 #1
1 3174
The first questions I would ask is what do you want your menu system to look
like.

1.) List of Links/Sub Links
2.) Rollover Graphics
3.) Static Graphics
4.) Something Else.

The obvious thing to do is to look for ASP.NET driven Javascript rendered
menus. If you can find what you need, then perhaps you need to write a
custom control. But this will require an awfull lot of carefull planning and
testing between different browsers, resolutions etc.

--
Best Regards

The Inimitable Mr Newbie º¿º


"paulakeijzers" <paulakeijzers@-NOSPAM-gmail.com> wrote in message
news:eW**************@TK2MSFTNGP11.phx.gbl...
I've got a problem with asp.net i am trying to make a menu control. and
have searched the web for serveral controls but they don't work correctly.

I am pretty new to asp.net building. What am i looking for. i am looking
for code to make a dynamical menu with submenus The menu items are stored
in a MS SQL Table and when by loading the page the items will be created.
i have made a asp table. i want my menu on the left cell, in the middle
cell i want to change my pages to the menu item choosen.

This is what my page look like right now
<form id="Form1" method="post" runat="server">
<asp:Table id="Table1" runat="server" Height="72px" Width="944px">
<asp:TableRow>
<asp:TableCell>
<asp:linkbutton id="btnLogOut" style="Z-INDEX: 102; LEFT: 8px; TOP: 8px"
runat="server" Width="80px"
Height="8px">Logout</asp:linkbutton>&nbsp;</asp:TableCell>
<asp:TableCell>
<asp:textbox id="txtUsername" style="Z-INDEX: 101; LEFT: 112px; TOP: 8px"
runat="server" Width="144px"
Height="24px"></asp:textbox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<uc1:Menu id="Menu1" runat="server"></uc1:Menu>
</asp:TableCell>
<asp:TableCell>
<uc1:messages id="Messages1" runat="server"></uc1:messages>
</asp:TableCell>
<asp:TableCell>test</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
</body>

so for an instance i want to change the messages to Sent items page how
can i do that?
It would be great if some one can give me some examples of making menus
and how to change the page.
and is it possible to do it all from the code behind?

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Venkatesh | last post by:
Hi Everybody, This is the first timw I am entering into this Group. I am developing a VB Project with an MDI form. I want to display IE Favorites into my application. For this I need to...
4
by: Bratislav Jevtic | last post by:
hi, we developed an application having server-side menus. however, I'm interested for: 1. some nice client side drop down menus. ideal solution would be something like windows menus in...
5
by: Sandy | last post by:
How do you create menu items with submenus? An example of what I'm referring to are the microsoft menus to the left of this page with the arrows that show additional topics. -- Sandy
4
by: paula | last post by:
I've got a problem with asp.net i am trying to make a menu control. and have searched the web for serveral controls but they don't work correctly. I am pretty new to asp.net building. What am i...
2
N002199B
by: N002199B | last post by:
Hie Guru's I am trying to write code that can be re-used by simple calls to build menus and submenus on mobile devices. I have heard about the cascading menus design pattern, but do not...
1
by: angelinahmaleka | last post by:
Hi all I am learning how to use submenus and I am struggling a bit. I am using the dynamic drive switch menu and I wish to make all menus close when another menu is selected. Currently this...
14
by: maya | last post by:
hi, I need help with a dynamic nav menu, http://www.mayacove.com/design/nav/nav.html it looks like I want it in IE 7, but in FF and IE 6 it's totally messed up.. in FF the main-nav section...
1
by: sydd | last post by:
Hi, I was wondering if it's possible to create a dynamic dropdown menu from this code. if($rs->getNumRows() > 0){ $intProjectCount = 1; $htmlOut ="<table width='100%' border='0'...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.