Questions tagged [asplinkbutton]

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

139 questions
1
vote
1 answer

LinkButton is not firing postback event

In a web page i am using jquery and some other .js files. The LinkButton is not firing its postback event. LinkButton i am stuck in creating poskback of…
Saifal Maluk
  • 121
  • 2
  • 5
  • 14
1
vote
2 answers

Validate webform onClick event of LinkButton in ASP.Net

In Asp.net I am using this JQuery validation plugin. It works perfect for control. But if I use it does not validate the form and allows it to call code behind method. Why is this happening? How can I able to validate…
Prasad Jadhav
  • 5,090
  • 16
  • 62
  • 80
1
vote
1 answer

how to open a new tab from asp.net code behind?

I got this code in LinkButton Click event Session("Factor") = Session("rating") Response.Write("") The reason I need in…
Laurence
  • 7,633
  • 21
  • 78
  • 129
0
votes
3 answers

Is this a good workaround for enter button submitting in a text box?

So I have a page, it had multiple textboxes, linkbuttons, and buttons. Currently, a user clicks a linkbutton "Edit" which allows them to enter data in that row, via textboxes. However, upon pressing enter, the event for one of the buttons…
OneFreeFitz
  • 317
  • 3
  • 5
  • 15
0
votes
1 answer

WebForm can't populate button command argument with list of files?

It's been a long time since I've had to work with WebForms but I'm having to update an old website. I'm trying to make a page that will allow the user to download a file to their machine. I can get the list of files in a directory as well as display…
Caverman
  • 3,371
  • 9
  • 59
  • 115
0
votes
2 answers

How can I get the value of the CommandArgument in javascript?

I have a gridview that displays a list of files on screen. The column in this view is an asp link button titled Edit. When I click edit, I want to get the value of the commandargument in a javascript function. function OnEditClick(s, e) { …
abhi
  • 3,082
  • 6
  • 47
  • 73
0
votes
0 answers

ASP.NET C# Adding LinkButtons to a List

I'm building an ASPX web page where some links will be visible or invisible depending on the user's access level. My thought was rather than create multiple functions and turn each link on or off, I could keep things neat and tidy by making…
Ransom
  • 103
  • 1
  • 1
  • 4
0
votes
5 answers

Why do I get an error with .Click() Event for an Asp:LinkButton in Firefox?

I am attempting to fire the click() event when a button is clicked. This currently works for me in IE however I receive the following error in firefox: "link.click is not a function" I have been trawling google regarding this and found out the…
0
votes
1 answer

how to disable a linkButton in aspx when a certain condition is set

Let me explain my problem, I have a LinkButton: when I click on this LinkButton I set a command and then I check with…
sebba23
  • 544
  • 7
  • 24
0
votes
1 answer

How to call JQuery dialog box using link button in asp.net

I have a Jquery dialog box in my website. This dialog box is meant for getting user comments. At present, I'm using the following code to execute the Javascript function and is working fine: **Rate this**
Ranjith
  • 1
  • 1
0
votes
1 answer

LinkButtons behaving differently in the clickable area around the icon ( i don't think it's a front-end issue )

i am working on asp.net webforms project and while testing i noticed that the LinkButton behavior is different and lead to different results. when i click on the LinkButton but outside the icon area : it results a Partial Post-Back. And when i click…
0
votes
1 answer

Linkbutton do not respond after first click

I have a linkbutton that works fine just one time, the second click does not respond in Chrome but it works in Internet Explorer. This only happens in my production environment, but dev works fine. While debugging, I can tell that is not reaching my…
Zendik73
  • 5
  • 4
0
votes
1 answer

How to fire Onclick event from LinkButton in Gridview resides in updatePanel?

I know this might be asked before. My gridview rows are changed according to search filter which fetches data from Database. But when I click on Link button to view data only Onclientclick is fired and onclick is not firing. Here's my code :
Rex Jones
  • 99
  • 3
  • 14
0
votes
2 answers

Linkbutton click event not firing via JQUERY

I have a link button on page which is rendered like this in html download I am trying to trigger the click event of that button using JQUERY $('#lb_download').click(); But its not firing.…
Sandeep Thomas
  • 4,303
  • 14
  • 61
  • 132
0
votes
1 answer

How to keep styling on ListView Tableheader Link (after programmatically setting value)

I would like to change the text on a particular table header in a Layout Template in a ListView programmatically (depending on the value in the database). It works but the styling is no longer using the LinkButton styling(green and clickable).…
seesharp
  • 101
  • 1
  • 14