Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Highlight text and right click for a custom context menu, asp

Reply
Thread Tools

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

 
 
=?Utf-8?B?QWJkYWxsYQ==?=
Guest
Posts: n/a
 
      03-22-2006
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.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Y2xpY2tvbg==?=
Guest
Posts: n/a
 
      03-22-2006
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.
>

 
Reply With Quote
 
 
 
 
Bruce Barker
Guest
Posts: n/a
 
      03-22-2006
this is all pretty simple with javascript. pick up any book on javascript
and the browser dom.

-- bruce (sqlwork.com)


"Abdalla" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
highlight text and right click on it for a custom context menu Abdalla ASP General 1 03-23-2006 02:27 PM
Tool to enable Right click on pages where Right click is disabled tsteinke@gmail.com Computer Support 4 08-28-2005 11:53 PM
how to highlight a row when on click and keep it highlighted until next click john woo Javascript 1 06-16-2005 01:30 PM
Right-click context menu that can pass values when right-clicking a link?? Leon Javascript 3 11-26-2004 07:37 AM
Context Menu & Right Click Francis E. Morgan Computer Support 2 09-18-2004 09:12 PM



Advertisments