Questions tagged [asplinkbutton]

`` is an ASP.NET control that displays a hyperlink-style button control on a Web page.

139 questions
0
votes
2 answers

LinkButton C# OnClick event not firing within Formview ItemTemplate

I am having an issue with my "save" linkbutton firing and am at a loss. I have included the code for the form and code-behind. I have added some testing to see if the event is firing and it doesn't appear to be so. Any help is appreciated. I am…
Mike C
  • 63
  • 1
  • 11
0
votes
1 answer

disable/gray out link button from a certain row in gridview asp.net

I want to disable / put it in read only mode or anything that will make it not functional forever. What i have is this:
faufao
  • 11
  • 1
  • 4
0
votes
3 answers

Hide link button text and show image instead

if you dont understand what i said please do let me know via comments donot flag or downvotes I am having linkbutton , that is used top getting Id in GridView. I want to show Image instead of text.. I am attaching Image . See on the left side top…
serious coder
  • 139
  • 1
  • 1
  • 12
0
votes
1 answer

LinkButton Clicked OnPreRender

I Have a LinkButton when clicked I want to preform an operation inside the OnPreRender method. So how would I know if that LinkButton was clicked? Say my LinkButton's name is lnkbtn1. Thanks in advance. Baher.
Baharanji
  • 218
  • 5
  • 19
0
votes
1 answer

Link button changing color when any data pager event takes place

i have a alphabetic filter consist of 26 dynamically created link button on selecting any link button it is filtering the name of user's on the basis of alphabet and changing its color to orange to make it different from other linkbuttons it is…
Mac
  • 6,991
  • 8
  • 35
  • 67
0
votes
2 answers

ASP.NET LinkButton not firing inside of Bootstrap Tabs

Using Bootstrap's Tabs, ASP.NET LinkButtons are not firing events while inside of the tab-content div. HTML
0
votes
1 answer

Change class on span inside button as sender

I wonder if its possible to select the inside a specific LinkButton in code behind. That I want to make is when the button is clicked the span inside the button should change class. I know i can change it if i set an ID on the span but i wonder if…
MrKrantz
  • 53
  • 1
  • 9
0
votes
1 answer

issues with firing a link button click event within a gridview in a vb asp.net web application

I have web application created with VB Visual Studio 2008. I have a created a new page to display a grid view showing contracts from a database with a certain status. In the grid view i have an item template field with a link button. The default…
ameera
  • 1
  • 2
0
votes
3 answers

How to make CheckBoxList works with LinkButton event?

The following code shows some checkboxes that if you choose any of them, it will be listed on the page. The problem is that I want to use the "LinkButton" on the page that if I click on the link then the ckeckbox will be shown. When I use…
Shab
  • 5
  • 8
0
votes
1 answer

Accessing Linkbutton click event in footer of Gridview

I am working on an asp.net project where I have a gridview on the default.aspx page databound to my sql database. When I click on a specific row it navigates to a details.aspx page where you can see and edit the details of the row clicked. On that…
John B
  • 33
  • 1
  • 6
0
votes
2 answers

Click event Firing twice

I have the following LinkButton in my ASP.NET website: Upload…
Nuke
  • 1,169
  • 5
  • 16
  • 33
0
votes
2 answers

Create SQL statement on another page based on LinkButton

I have a simple table as shown below: When user clicks the Template Field Link button, it should send to another page and fill in the information into the following text boxes: I want to be able to populate an SQL statement that uses the table's…
narue1992
  • 1,143
  • 1
  • 14
  • 40
0
votes
1 answer

Change the visible sate of a link button inside a datalist

I want to change the visible state and enable state of a link button inside a data list when another button in the same data list is clicked.How can I do that? Here is the code: if (e.CommandName == "Save") { DataListItem item =…
nithya
  • 1
  • 3
0
votes
2 answers

Why LinkButton inside GridView which is present in Updatepanel not firing OnClientClick event?

I have placed my GridView inside the Updatepanel and there I have defined few columns with one LinkButton. But for that LinkButton OnClientClick event is not firing. Instead it's doing a postback. Following is the Code:
shary.sharath
  • 649
  • 2
  • 14
  • 29
0
votes
1 answer

How to bind data to linkbutton without interfering with other boundfields?

There are few gridviews in the page. First gridview is editable, second is not. First gridview has a column that has a hyperlink (linkbutton). The second table should be loaded based on the click event of above hyper link. It is like expecting the…
aspiring
  • 1,557
  • 2
  • 20
  • 43