Login  
Search All Forums
Dart Home | PowerWEB TextBox for ASP.NET | Custom Development Reply | PowerWEB TextBox for ASP.NET Topics | Forums   
AuthorForum: PowerWEB TextBox for ASP.NET
Topic: Disabling the popup menu
Captell

From: Melbourne, Australia
Posts: 10
Member Since: 03/29/09
posted June 1, 2009 2:59 AM

Hi there,
  I'd like to be able to disable the popup menu that appears if the user right clicks the TextBox. Can you suggest a way to do this?

 I've tried calling
 hb.Attributes.Add("onmouseup", "return false;")
but it doesn't work.

K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 2, 2009 10:22 AM

Hi,
You can set the HtmlBox.RightClickBehavior property to Nothing.

Hope it helps,
-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerWEB TextBox for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX