Questions tagged [aspbutton]

`` displays a push button control on the Web page.

82 questions
1
vote
1 answer

Write & Read cookie within an updatepanel in asp.net

I created a simple asp.net webform project. Trying to read/write a cookie on button_click event in updatepanel. Hierarchical order of the button: UpdatePanel > Repeater > Button Condition of Button Click: Button click is working wheel. Trigger is…
Hallowen
  • 133
  • 2
  • 14
1
vote
1 answer

iterate through ASP:Buttons

I am kind of newbie and I have an issue with ASP:Button controls. There is about 60 buttons on the page, typical XAML looks like this: I need to iterate through all of the…
1
vote
1 answer

ASP.NET Loading dynamic controls based on value in ViewState

I have been looking all over for a solution to this, but I haven't found it. Here is the problem, I have a static created table that contain a list over other lists:
John
  • 3,965
  • 21
  • 77
  • 163
1
vote
1 answer

How to get asp:button ID in jQuery

I'm making .aspx file and using jQuery to do key press function. I made few so write specific button id in jQuery part. $(document).keypress(function (e) { if (e.which === 13) { …
naanace
  • 363
  • 1
  • 4
  • 17
1
vote
1 answer

asp:button click event not firing when project run from iis 6.1

When I run a project from visual studio 2012 an asp:button that I am using works correctly. However when I publish the project to IIS 6.1 the button's click event handler is not getting called. I have attached visual studio to the running process on…
1
vote
1 answer

Using asp:Button with OnRowDeleting event

I'm trying to connect an asp:Button with my OnRowDeleting event in a gridview, but I don't don't know how to do that :X. I'm currently using CommandField but for my own purposes I need it with a Button instead. Can anyone help me please? EDIT: Let…
Aradmey
  • 377
  • 1
  • 3
  • 11
1
vote
1 answer

OnClick is not working when i do OnClientClick="function(); return false"

i have 5 asp:buttons that i want to change css class on when i click them so they are "marked". I do this with javascript and it works fine. But i also want to store a variable in code behind with the onClick. My problem is, when i click my…
dodie
  • 21
  • 4
1
vote
2 answers

Jump to next tab in asp.net using java script

i am using jquery tabs. know i want to jump to the next tab onclick of button. here is my code
1
vote
2 answers

asp Button Not firing JavaScript client side

This is killing me has to be something simple I am overlooking. I am trying to fire off a simple JavaScript function from the click of an ASP button. My button looks like this:
RichP
  • 525
  • 1
  • 10
  • 25
1
vote
1 answer

How to query asp button text in gridview to see if any have a certain text value

I now have an asp button in a gridview which I can toggle the text from "Add" to "Remove". Now what I would like is either jquery or javascript to loop through all the rows (or inquire all rows) to determine if any buttons have been toggled (they…
Lista…
martin36
  • 2,253
  • 4
  • 18
  • 27
1
vote
1 answer

Button Click Event Fire Only Second Click

In ASP.NET My button click event doesn`t work on first click. But it works on the second click only. I hope u can help me.
CodeCook
  • 190
  • 1
  • 4
  • 17
1
vote
0 answers

Can't add the Bootstrap GlypIcon for Asp.net button

Im try to add Bootstrap Glyphicon for my asp.net button but its not add correctly , please help me to add this Thanks in advance
Codeone
  • 1,173
  • 2
  • 15
  • 40
1
vote
1 answer

dynamically created Button not firing oncommand in a repeater asp.net C#

Here i am developing slots booking application using asp.net and C# . Poblem is my dynamically created button is not firing oncommand in a repeater control. (book button) without repeater i have created dynamic buttons and after and i recreated…
Tajkumar
  • 317
  • 2
  • 5
  • 16
1
vote
1 answer

Passing a parameter as an event argument in JS to code behind

I was using an asp:Button on each row to pass 'ID' to code behind 'lvDataStores_OnButtonClick()'. Instead of clicking the button I want to make the entire row clickable. I have done this using