473,796 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net 20 menu control useless ? [server callback, no menuitem click]

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 postback to server, which cant be caught on
the event of a menuitem. Wouldnt we rather use other ways of making
menus which are essentially clientsite ? With its postback its
certainly not high on usebility. Then we have to use ajax or
javascript injection to make it clientsite again( if the last is even
possible). What in heavens name is the use of this highly advocated
control ?

Tx for answers..

Rick
Jun 27 '06
11 1721
?? All the asp controls are server-side and post back to the server.
Hence:
asp:mycontrol runat=server id=fubar

Rickie wrote:
Edwin,

Tx for your response. Still I am curious why the sophisticated people
of microsoft have designed a rich component like the menu which
is *not* clientsite. Do you think they really make components which
are not usable in itself but only with clientsite script ?

And then another point. How difficult or easy would it be to call http
or js from a menuitem handler ?

Ricky

Op Wed, 28 Jun 2006 17:35:08 +0200 schreef "Edwin Knoppert"
<ne**@hellobasi c.com>:
The menu can call any http or js function

"Rickie" <to*******@msn. comschreef in bericht
news:hs******** *************** *********@4ax.c om...
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 postback to server, which cant be caught on
the event of a menuitem. Wouldnt we rather use other ways of making
menus which are essentially clientsite ? With its postback its
certainly not high on usebility. Then we have to use ajax or
javascript injection to make it clientsite again( if the last is even
possible). What in heavens name is the use of this highly advocated
control ?

Tx for answers..

Rick

Jul 6 '06 #11
Here is an example:

http://www.hellobasic.com/cgi-bin/fo...num=1152258978

In short, simply set (each) navigateURL to javascript:myjs function....

"Rickie" <to*******@msn. comschreef in bericht
news:bn******** *************** *********@4ax.c om...
Edwin,

Tx for your response. Still I am curious why the sophisticated people
of microsoft have designed a rich component like the menu which
is *not* clientsite. Do you think they really make components which
are not usable in itself but only with clientsite script ?

And then another point. How difficult or easy would it be to call http
or js from a menuitem handler ?

Ricky

Op Wed, 28 Jun 2006 17:35:08 +0200 schreef "Edwin Knoppert"
<ne**@hellobasi c.com>:
>>The menu can call any http or js function

"Rickie" <to*******@msn. comschreef in bericht
news:hs****** *************** ***********@4ax .com...
>>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 postback to server, which cant be caught on
the event of a menuitem. Wouldnt we rather use other ways of making
menus which are essentially clientsite ? With its postback its
certainly not high on usebility. Then we have to use ajax or
javascript injection to make it clientsite again( if the last is even
possible). What in heavens name is the use of this highly advocated
control ?

Tx for answers..

Rick


Jul 7 '06 #12

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

Similar topics

8
10101
by: Dennis C. Drumm | last post by:
Is there a way to modify the standard context menu shown when someone right clicks in a windows text box and that would work for all open windows applications? The standard context menu for a text box has 6 items, undo, cut, copy, paste, delete and select all. I would like to add one additional paste menu that opens a new sub menu with several optional text items that could be pasted. The items would be populated by my program but...
1
6341
by: goRide | last post by:
Hi, I'm looking of a way (preferred - a ready class or dll) to customize the context menu. many application has more controls inside the context menu (like textbox, sliders, checkbox, panel etc'). is there a way making this without writing my own context menu (meaning, popup form or something) ? Please don't post commercial products to this topic thanks.
1
2380
by: R.A.M. | last post by:
Hello, I need your help with a problem of menu definition. Plase help, I have little experience. I have created custom Menu, which I want to put on a few .aspx pages: public class DemoMenu : Menu { public DemoMenu(string ID, string DataSourceID) : base()
0
1160
by: Dana | last post by:
Hi All I have a menu control on my page, something like: <form action=Default.aspx runat="server"> <asp:Menu ID="Menu1" runat="server" BackColor="#F7F6F3" DynamicHorizontalOffset="2"> <Items> <asp:MenuItem Text="File" Value="File" Selectable="False"> <asp:MenuItem Text="Open" Value="Open"></asp:MenuItem>
17
2361
by: GS | last post by:
the main menu in the application seemed to disappeared all together until I click on an control and select mainmenu1 in designer. then the mainmenu1 displays where it should be but running it or deselecting the mainmenu1, the menu disappears again. what can I do. to fix the problem
4
4055
by: stuckagain | last post by:
Hi, I have a page with a scrollable DIV, and within that DIV, I have a few asp.net menu controls. The idea being, the user mouses over the small icons and is presented with a list of options. One of these lists has more data than the page allows for, so the menu control automatically creates the scroll up / scroll down commands at both ends of the menu. The problem is; since it is within a scrollable div, the menu scroller are hidden! ...
7
1434
by: Mel | last post by:
What control do I use for a menu on a web page? How do I add a check box to an menu item? I have a menu called Chart and beneath it I have a menu item called Publish. I want to display a checked check box when Publish is selected and an unchecked box when it's selected again. Can anyone point me in the right direction? (using asp.net 2.0, vb.net 2005)
3
1609
by: RobertTheProgrammer | last post by:
Hi all, I'm having a perplexing problem with my menu control using asp.net. Basically, I want a menu control that behaves similar to a Windows menu. For example: File - New - Open - Save - Exit
0
2061
by: nzkks | last post by:
Hi, I am using these: ASP.Net 2.0, VB.Net, Visual Studio 2005, SQL Server 2005 In a asp.net page, I have two multiview controls each has 2 views & its corresponding 2 menu items named Metric & Imperial. Individually both works fine. But when I click "Metric", the other "Metric" should also be switched on and vice-versa for Imperial. How to achieve that? The catch here is, one of the multiview control is inside a show/hide div with...
0
9685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9533
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10239
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10019
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9057
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7555
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6796
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4122
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.