`
Questions tagged [asplinkbutton]
139 questions
0
votes
1 answer
How to Enable Link Button through Javascript it is initially set to Enable = false
I am new to this kind of programming. I am trying to enable a Link Button on enter of any text in a ASP Text box. Basically it is a search text box when it has text the Search link should be enabled otherwise it should be disabled. The Search Link…

abhu85
- 33
- 3
0
votes
1 answer
No server-side click event for dynamically-generated LinkButton
I'm trying to add a new section on one of my system's main pages (web forms) that would allow users to see documents they've uploaded into folders they've created. I don't know in advance how many folders they've set up or what the folders are…

Mike
- 417
- 7
- 28
0
votes
1 answer
How do I download the PDF file generated given the file path in a Gridview?
I want to write code to allow user to download a PDF by clicking the "Download" linkbutton in a Gridview when the filepath is given in the Gridview.
Here's my code :
aspx

ProblemChild
- 556
- 1
- 8
- 16
0
votes
2 answers
Why cells value of grid returns empty string?
i am trying to pick a value from gridview but i returns empty string.

Aamir Shah
- 93
- 1
- 2
- 14
0
votes
0 answers
LinkButton click event not firing in iOS and iPad
ASP Code :
Show Addition
Code Behind :
Protected Sub lbtnShow(sender As Object, e As EventArgs) Handles lbtnShow.Click
//Code Here
End Sub
Similarly, click for "Anchor tag" and…

Pranav Kumar
- 249
- 1
- 5
- 16
0
votes
0 answers
Gridview RowCommand does not fire on second time
i have a gridview and a simple linkbutton with rowcommand like below:
…

Erdem Gundogdu
- 277
- 1
- 8
- 21
0
votes
2 answers
0
votes
2 answers
Read asp.net link button text from server side
net page with two controls
linkbutton
button
While running my application, I'm changing my link button text using javascript function.
Now I want to read that text when I press button. Button event is there in server side.
When I try to read like…

jestges
- 3,686
- 24
- 59
- 95
0
votes
1 answer
Dynamic Link Button OnClick event not firing
I am creating several dynamic asp:Panels in asp:Lisview ItemTemplate. In panel there's a HTML table which is surrounded by link so the whole div/box is clickable. The problem is the linkbutton's OnClick event is not firing on server side. Any…

AM0
- 165
- 2
- 4
- 20
0
votes
2 answers
Retrieve Primary Key value of records in Data Lists in asp.net?
I have Datalist with a LinkButton and a Label. I need to get the primary key value of the record for a particular record when I click on that data record. How to achieve that ?

Huzaim
- 115
- 4
- 13
0
votes
2 answers
Postback Happening after Download when Clicking a Button or Link
This is a problem I've had in the past, but I forgot if I ever solved it or not. I have it so when the user clicks on an asp:linkbutton it triggers a download for a file. File downloads successfully without a problem. However, after it downloads if…

Mitchell
- 253
- 1
- 5
- 16
0
votes
0 answers
ASP.NET - using javascript to change text of LinkButton on every click
I have a LinkButton that essentially toggles a menu, "show/hide".
So I am doing the show/hide logic in a javascript method called onShowFiltersClick(), that is attached as an OnClientClick event.
But how do I reach (and change) the text value of the…

Christofer Ohlsson
- 3,097
- 4
- 39
- 56
0
votes
0 answers
linkbutton not firing the onclick handler and does not do a post back for the page
I have a user control and have a link button in it with onclick property but whenever i click this linkbutton nothing happened no postback for the page or firing the handler
I have added the causevalidation to false and add the validationgroup as…
0
votes
1 answer
Pass ASP:LinkButton CommandArgument to __doPostBack __EVENTARGUMENT
In ASP.NET linkbutton -
…

Don
- 1,532
- 4
- 24
- 47
0
votes
3 answers
asp:Button and asp:LinkButton and asp:Button submitting on enter in Chrome
In Internet Explorer if I hit enter in the TextBox P it submits the Form using the onclick event of LoginButton.
This is what I want to happen.
In Google Chrome if I hit enter it submits the form with the onclick of Button1.
This is not what I…

John Wesley Gordon
- 910
- 2
- 17
- 39