Highlight text and right click for a custom context menu, asp

G

Guest

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.
 
G

Guest

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.
 
B

Bruce Barker

this is all pretty simple with javascript. pick up any book on javascript
and the browser dom.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top