Questions tagged [buttonclick]

An event that occurs when a user clicks a button element located within a user interface

1042 questions
3
votes
0 answers

Excel VBA unable to click a button on web page

I have done a lot of internet explorer automation with excel but this has gotten me stumped. I have a page with a button with the code:- add I need to click this button to enter a pincode data into…
3
votes
1 answer

button click event call on page load

I am new in asp.net development, I have problem when page load fired a click event of button is automatically fired. Will you please tell me why is it happening and what is the solutions for that. lets protected void butSubmit_Click(object sender,…
naval
  • 1,423
  • 1
  • 13
  • 26
3
votes
1 answer

Check how long is pressed the left mouse button

How can I check how long I click the right mouse button, and than handle some events from the click? For example: I have an ListViewOnPreviewMouseLeftButtonDown event and a ListViewOnPreviewMouseLeftButtonUp event, now I want to check how long I…
probird
  • 169
  • 1
  • 13
3
votes
1 answer

Call hidden FileUpload control on click event

I have a FileUpload control on my asp.net page which is hidden I want this control to be called when user clicks the Browse button
Nuke
  • 1,169
  • 5
  • 16
  • 33
3
votes
3 answers

Submit multiple form with one button

I know this question has been asked a lot, but there doesn't seem to be an answer for me. I'm sorry if I'm just really dumb, but I've been stuck for a day now.. I want to select a table row(see below), and then delete that user. Since I want to have…
user3455727
3
votes
1 answer

Accessing Repeater DataItem in Button_OnClick event

I have a repeater control bound to a collection of objects. When I fire off the button_onclick event, I need to have access to the dataitem to get the object properties. Here is what I have and my question is how do I access the underlying objects…
user204588
  • 1,613
  • 4
  • 31
  • 50
3
votes
2 answers

Change two images on button click (Android)

So, I want to make a button which every time it gets pressed, it changes the image above the button. I have 2 images in total, so I don't use arrays. Let's say I have image1.png and image2.png. The default image is image1 and after I press the…
Cata
  • 83
  • 1
  • 1
  • 9
3
votes
1 answer

Install a .mobileconfig file programatically on iOS 7

I have a config file within my app. Can I execute(run) the the config file on a button click? Currently, I am emailing the file as an attachment to the respective users on a button click and the execution starts when they open the email and tap on…
Sagar
  • 101
  • 1
  • 1
  • 11
3
votes
8 answers

JQuery assign events to buttons

I have 50 dynamically generated HTML buttons as follows: : : :
user3191903
  • 237
  • 2
  • 6
  • 14
3
votes
2 answers

OnClick event in WinForms DataGridView

I am using DataGridView in WinForms and by this piece of code I am assigning it columns and values dataGrid.DataSource = sourceObject; only by this line all the columns and values into the grid. How do I handle the onClick event of a specific row…
eomeroff
  • 9,599
  • 30
  • 97
  • 138
3
votes
4 answers

ASP.NET - Passing arguments to the server on button click

I have a ASP.NET web page which contains a table of check boxes and a button. I need to find the IDs of all the check boxes which are checked when the button click happens. Once the list of IDs are collected, it needs to be passed on to the server.…
Arnkrishn
  • 29,828
  • 40
  • 114
  • 128
3
votes
5 answers

break button_click event when enter pressed

Is an easy way to cancel click event when user hit enter on button (instead of mouse click on button?) i have tried with: private void button3_Click(object sender, EventArgs e) { KeyEventArgs ke = e as KeyEventArgs; if (ke !=…
iskrzycki
  • 154
  • 2
  • 13
3
votes
2 answers

asp.net button event not firing

I have a problem. While I am adding an event handler from code behind to a button the event never gets fired. But when I add it from when creating the button tag it works perfectly and I am creating the button from code behind and I adding it to…
danarj
  • 1,798
  • 7
  • 26
  • 54
3
votes
1 answer

ModalPopup won't show up

Somehow I'm really stuck, I don't know why. I've already read about 3 sites from googling, etc, but it won't work for me. In my Aspxsite I have:
DatRid
  • 1,169
  • 2
  • 21
  • 46
3
votes
5 answers

Make onclick function work with ENTER and "Go" button on Safari Mobile (iOS)

I have a form in which the button calls a function onclick:
function calcRoute() { var start =…
MultiformeIngegno
  • 6,959
  • 15
  • 60
  • 119