tagged [click]

Adding a right click menu to an item

Adding a right click menu to an item I have been searching for a while for a simple right-click menu for a single item. For example if I right-click on a picture I want a little menu to come up with m...

Right click to select a row in a Datagridview and show a menu to delete it

Right click to select a row in a Datagridview and show a menu to delete it I have few columns in my DataGridView, and there is data in my rows. I saw few solutions in here, but I can not combine them!...

c# datagridview doubleclick on row with FullRowSelect

c# datagridview doubleclick on row with FullRowSelect I have a datagridview in my C# application and the user should only be able to click on full rows. So I set the SelectionMode to FullRowSelect. Bu...

4 Dec at 15:28

How to add ContextMenu to the system tray icon programmatically?

How to add ContextMenu to the system tray icon programmatically? I want to programmatically add a context menu to my tray icon, so that when I right-click on the tray icon, it should show me the menu....

Confirmation Box in C# wpf

Confirmation Box in C# wpf I want to show confirmation Box in C# code. I've seen above solution for that but it shows me exception at 'Yes' as 'System.Nullable' does not contain definition for 'Yes'. ...

19 Aug at 14:3

WPF - Remove focus when clicking outside of a textbox

WPF - Remove focus when clicking outside of a textbox I have some textboxes where I would like focus to behave a little differently than normal for a WPF application. Basically, I would like them to b...

27 Jun at 05:46

Making custom right-click context menus for my web-app

Making custom right-click context menus for my web-app I've a few websites like google-docs and map-quest that have custom drop down menus when you right-click. Somehow they override the browser's beh...

C# Checking if button was clicked

C# Checking if button was clicked I am making a program that should just continue if 2 conditions are given. The first one, 2 `TextBox`s have the same word in and a `Button` was clicked, which opens a...

22 Mar at 14:37

right click context menu for datagridview

right click context menu for datagridview I have a datagridview in a .NET winform app. I would like to rightclick on a row and have a menu pop up. Then i would like to select things such as copy, vali...

Detect Click into Iframe using JavaScript

Detect Click into Iframe using JavaScript I understand that it is not possible to tell what the user is doing inside an `iframe` if it is cross domain. What I would like to do is track if the user cli...

Right click to select row in DataGridView

Right click to select row in DataGridView I need to select a row in a `DataGridView` with right click before a `ContextMenu` is shown because the `ContextMenu` is row-dependent. I've tried this: or: `...

23 Sep at 08:31

adding my program to right-click menu

adding my program to right-click menu with right click menu, I mean this: I dont really know what its called, but i hope its right click menu. When I google for queries like title of this question, i ...

15 Jul at 13:13

C# dynamically add event handler

C# dynamically add event handler Hi i have a simple question. here is my code: ``` XmlDocument xmlData = new XmlDocument(); xmlData.Load("xml.xml"); /* Load announcements first */ XmlNodeL...

7 Oct at 13:18

How to remove all click event handlers using jQuery?

How to remove all click event handlers using jQuery? I'm having a problem. Basically, when a user clicks an 'Edit' link on a page, the following Jquery code runs: By doing this, the onClick event of t...

18 May at 12:1

"Failed to load ad: 3" with DoubleClick

"Failed to load ad: 3" with DoubleClick I'm setting an ad to my Android application using DoubleClick and can't manage to show the final ad. Can someone help me? When I test an ad by adding ".addTestD...

14 Dec at 03:53

Right Click to select items in a ListBox

Right Click to select items in a ListBox I'm trying to make a list of items that you can do several actions with by right-clicking and having a context menu come up. I've completed that, no problem wh...

Clicking submit button of an HTML form by a Javascript code

Clicking submit button of an HTML form by a Javascript code I don't know much about WEB probramming, so feel free to ask if I'm missing any details. There is a certain website which I'm visiting very ...

c# gridview row click

c# gridview row click When I click on a row in my GridView, I want to go to a other page with the ID I get from the database. In my RowCreated event I have the following line: To prevent error message...

15 Apr at 16:54

C#: How to avoid TreeNode check from happening on a double click event

C#: How to avoid TreeNode check from happening on a double click event So I have a TreeView in a C# windows form app. What I need is for some nodes to be "locked" so that they cannot be checked (or un...

programmatically mouse click in another window

programmatically mouse click in another window Is it possible to click programmatically a location in another window without moving the mouse to that location and even if the window is not on-top? I w...

31 Jul at 09:49

AngularJS : ng-click not working

AngularJS : ng-click not working I am new in AngularJs, ng-click is not working as expected. I searched on the internet , Follow the tutorial , (that was working) - but this is not working!!! My Code:...

Is it possible to get the image mouse click location with PHP?

Is it possible to get the image mouse click location with PHP? Basically what the title says... I need to have an image that when clicked, I call script.php for instance and in that PHP script file, I...

11 Dec at 04:42

TreeView double-click behaviour in .NET / C#

TreeView double-click behaviour in .NET / C# I have a regular .NET [Windows Forms](http://en.wikipedia.org/wiki/Windows_Forms) treeview control. The nodes are setup like this: If I double-click a coll...

25 Dec at 14:28

Right-click on a Listbox in a Silverlight 4 app

Right-click on a Listbox in a Silverlight 4 app I am trying to implement what I used to take for granted in Winforms applications. I am a Silverlight noob, so hopefully all this is elementary. I have ...

EventHandler with custom arguments

EventHandler with custom arguments I've been looking for an answer for about an hour on Google but I did not found exactly what I'm looking for. Basically, I have a static Helper class that helps perf...

13 Jun at 12:3