473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Create server side menu in ASP.NET

Hello there.
I'm interesting how do I create server side menu in ASP.NET, I was searching
for some menus, but they are all done with DHTML or JavaScript, so I have
some problems to use them.
I want to be able program onClick and other events for each item of the
menu, so I cant use client side menus created with DHTML or JavaScript.
I'm new in ASP.NET, may be I'm doing something wrong?
How do I create server side (horizontal) menu in ASP.NET?
May be someone knows any free component for it?
Nov 18 '05 #1
6 2371
Simply use server based controls, like <asp:LinkButton...> etc. You can
programatically code these as you would any other server control

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Dave" <da*********@hotmail.com> wrote in message
news:On**************@tk2msftngp13.phx.gbl...
Hello there.
I'm interesting how do I create server side menu in ASP.NET, I was
searching for some menus, but they are all done with DHTML or JavaScript,
so I have some problems to use them.
I want to be able program onClick and other events for each item of the
menu, so I cant use client side menus created with DHTML or JavaScript.
I'm new in ASP.NET, may be I'm doing something wrong?
How do I create server side (horizontal) menu in ASP.NET?
May be someone knows any free component for it?

Nov 18 '05 #2
I see your other post, from earlier, so I think I get what you are after
now... you will have to do this with clientside code, to display the effects
and such, but just make sure to add RUNAT=SERVER to the individual tags and
declare them in the code-behind. At that point you can do what you want with
them.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:O5**************@TK2MSFTNGP11.phx.gbl...
Simply use server based controls, like <asp:LinkButton...> etc. You can
programatically code these as you would any other server control

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Dave" <da*********@hotmail.com> wrote in message
news:On**************@tk2msftngp13.phx.gbl...
Hello there.
I'm interesting how do I create server side menu in ASP.NET, I was
searching for some menus, but they are all done with DHTML or JavaScript,
so I have some problems to use them.
I want to be able program onClick and other events for each item of the
menu, so I cant use client side menus created with DHTML or JavaScript.
I'm new in ASP.NET, may be I'm doing something wrong?
How do I create server side (horizontal) menu in ASP.NET?
May be someone knows any free component for it?


Nov 18 '05 #3
May be you know any free component for it?

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:eO*************@TK2MSFTNGP10.phx.gbl...
I see your other post, from earlier, so I think I get what you are after
now... you will have to do this with clientside code, to display the
effects and such, but just make sure to add RUNAT=SERVER to the individual
tags and declare them in the code-behind. At that point you can do what you
want with them.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:O5**************@TK2MSFTNGP11.phx.gbl...
Simply use server based controls, like <asp:LinkButton...> etc. You can
programatically code these as you would any other server control

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Dave" <da*********@hotmail.com> wrote in message
news:On**************@tk2msftngp13.phx.gbl...
Hello there.
I'm interesting how do I create server side menu in ASP.NET, I was
searching for some menus, but they are all done with DHTML or
JavaScript, so I have some problems to use them.
I want to be able program onClick and other events for each item of the
menu, so I cant use client side menus created with DHTML or JavaScript.
I'm new in ASP.NET, may be I'm doing something wrong?
How do I create server side (horizontal) menu in ASP.NET?
May be someone knows any free component for it?



Nov 18 '05 #4
"Dave" <da*********@hotmail.com> wrote in message
news:e5**************@TK2MSFTNGP11.phx.gbl...
May be you know any free component for it?


http://www.aitoc.com/en/flex_menu_net.html
Nov 18 '05 #5
Thank you! It's a great menu control.
But I have some questions on it:
1. How can I force it to show not from zero left side? I just want to skip
some space at left side of the menu.
2. How can I set width individually for each top items (File, Edit etc.)?

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
"Dave" <da*********@hotmail.com> wrote in message
news:e5**************@TK2MSFTNGP11.phx.gbl...
May be you know any free component for it?


http://www.aitoc.com/en/flex_menu_net.html

Nov 18 '05 #6
"Dave" <da*********@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
1. How can I force it to show not from zero left side? I just want to skip
some space at left side of the menu.
Set the LEFTMARGIN property of the page's <body> tag.
2. How can I set width individually for each top items (File, Edit etc.)?


I don't think you can...
Nov 18 '05 #7

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

Similar topics

12
by: HarveyB | last post by:
I would like to generate non-modal popup windows from ASP.Net code-behind. I have tried using Client Side scripting like "function Test(){ window.open('test.htm',_blank,...
6
by: Paul | last post by:
I use ASP and I need to know how to attaches an Iframe Id with its page so I can load menu options ( eg. 1.htm, 2.htm, 3.htm, ect...) into the Iframe from any given page on my website. The problem...
4
by: Curt Emich | last post by:
I recently bought a copy of Visual C#.NET Deluxe Learning addition. I was under the impression that this comes with SQL Server Desktop Engine. I installed everything I should have (I think), but...
1
by: Dan Brussee | last post by:
I know, of course that client side stuff cant call server code directly. What I am doing is putting in a basic LeftHand menu bar using a user control that contains a datagrid composed of linkbutton...
3
by: Ohad Young | last post by:
Hi, I have a frameset page that contains two frames: 1. the first frame, an aspx page, contains a menu for navigating in the website. 2. the second frame contains content, pdf, html or other...
1
by: server side menu problem2 | last post by:
hi, in my site there r 2 frames: 1.menu frame 2.application display the menu is based on <A HREF=...> because I need to direct the pages to the application display frame.now I need to cuach a...
11
by: Rickie | last post by:
Dear fellow software engineers, Is the web menu in asp 2.0 essentielle a useless control ? How many people( including msdn itself) are using server menu controls? Its a menu which always...
7
by: thisis | last post by:
Hi All, i have this.asp page: <script type="text/vbscript"> Function Body_Onload() ' create the object Set obj = Server.CreateObject("UploadImage.cTest") ' use method of the object...
0
by: Mart | last post by:
How to create side menu bar in C++ Builder? I mean something like panels on left hand side in Opera Internet Browser (after F4 pressed) or in Acrobat Reader. Now I have created project with two...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.