Dear All
I have a project on making a UI of a Web page that allows users to:
1. select any text by highlighting it, and
2. do some action on it by right-clicking on the highlighted text and choose
an action among those options presented by the context menu items that
appears.
3. send the chosen action along with the text and its attributes to the
server as the user clicks on the desired menu item.
Interestingly, the next stage is to make the menu items customised by the
type of the selected text, e.g. a link or an ordinary body text.
Does anyone know if all these can be done fully using ASP.Net at the server
side?
Could anyone help, please?
Many thanks in advance. 2 1783
You cannot affect what the right hand mouse button context menu does with
server side code, i think you would have to use client side VB script to do
this as i don't think you can even do it in javascript, so it would ver very
browser specific. The only site i have ever seen that does anything like
this is the "premium" view of outlook web access that comes with Exchange
server, and this only works in I.E.
"Abdalla" wrote: Dear All
I have a project on making a UI of a Web page that allows users to: 1. select any text by highlighting it, and 2. do some action on it by right-clicking on the highlighted text and choose an action among those options presented by the context menu items that appears. 3. send the chosen action along with the text and its attributes to the server as the user clicks on the desired menu item.
Interestingly, the next stage is to make the menu items customised by the type of the selected text, e.g. a link or an ordinary body text.
Does anyone know if all these can be done fully using ASP.Net at the server side? Could anyone help, please? Many thanks in advance.
this is all pretty simple with javascript. pick up any book on javascript
and the browser dom.
-- bruce (sqlwork.com)
"Abdalla" <Ab*****@discus sions.microsoft .com> wrote in message
news:AF******** *************** ***********@mic rosoft.com... Dear All
I have a project on making a UI of a Web page that allows users to: 1. select any text by highlighting it, and 2. do some action on it by right-clicking on the highlighted text and choose an action among those options presented by the context menu items that appears. 3. send the chosen action along with the text and its attributes to the server as the user clicks on the desired menu item.
Interestingly, the next stage is to make the menu items customised by the type of the selected text, e.g. a link or an ordinary body text.
Does anyone know if all these can be done fully using ASP.Net at the server side? Could anyone help, please? Many thanks in advance. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: 50295 |
last post by:
Hi everyone,
This one is better experienced than explained, so I'm including a code
sample below. Please and save (as an html file) and view with NN or
Firefox (or maybe even Mozilla), and then view. When loaded:
(1.) Place the mouse over "Top Menu" item.
(The menu opens)
(2.) Move to any of the sub-menu items.
(3.) Click on the left or right (but NOT on the text) of the current
|
by: Phill |
last post by:
Here's what I'm doing to make the right context mnue show up based on
what node was cliked:
private void tvwMenu_MouseUp(object sender, MouseEventArgs e)
{
//Select Node When Right Clicked & Set Context Menu To Use
if( e.Button == MouseButtons.Right )
{
TreeNode node = tvwMenu.GetNodeAt( new Point( e.X, e.Y ) );
if( node != null )
|
by: Dan Bass |
last post by:
If you look at explorer, right clicking on a file, first selects the file,
then throws up the context menu relating to that selection.
With a Windows ListBox control and a simple context menu, the default
behaviour seems to display the context menu on the listbox, but there is no
selection.
Now I know that explorer's using a listview, and that the context menu acts
differently if you click on open space (no selection), but can I...
|
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...
|
by: Antoine |
last post by:
I havent got room on an aspx forms data items but want to have an alternate
option to double click on its link (like a right click context menu) so make
the most of functionality with the lack of space, without refering to using
some other kind of custom control. Its for a calendar that is data bound
with items which are what I want the submenu options on (or even just a
different action on right click).
I have divs on the form. This...
| |
by: Abdalla |
last post by:
Dear All
I have a project on making a UI of a Web page that allows users to:
1. select any text by highlighting it, and
2. do some action on it by right-clicking on the highlighted text and choose
an action among those options presented by the context menu items that
appears.
3. send the chosen action along with the text and its attributes to the
server as the user clicks on the desired menu item.
|
by: wxnut |
last post by:
In VB 2005 I have six seperately named picture boxes (arranged in a table
layout control) in which I plot different X/Y data lines. I would like to be
able to right-click on a specific picture box (say, plot #3) and select a
different line color for that one plot.
How can I figure out which of the six plots is the one in question when
right-clicking on it? I can easily change the line color using the context
menu control, but I don't...
|
by: _DD |
last post by:
Is there any way to display underlined/highlighted characters in a
custom Context Menu? Preferrably with scrolling. HTML maybe?
|
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How do I disable the right mouse button?
-----------------------------------------------------------------------
The oncontextmenu intrinsic event is the only safe and reliable
method. Of the other approaches often presented, most depend on
an alert box interrupting the process and rarely work. Note that
oncontextmenu is a non-standard event and is not...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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...
|
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...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |