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

OnClick event not working for linkbutton in a master page

This is the html , This is the code behind, protected void hlnkLogoffF_Click(Object sender, EventArgs e) { //do something here } When…
user1890098
  • 473
  • 2
  • 10
  • 24
0
votes
1 answer

Blue Border around asp link button

I have 2 asp linkbuttons which encompass img tags within themselves. The markup is as below:
Anurag
  • 552
  • 9
  • 31
0
votes
1 answer

how to make asp:LinkButton work in safari when enter pressed

I have asp:LinkButton (submit button) and it works properly in every browser. However, in safari it works only if user clicks the submit button and doesn't work if enter is pressed. How can I solve this? I just want this to work similarly in every…
gev
  • 215
  • 1
  • 2
  • 7
0
votes
3 answers

Multiple command in one linkbutton control

I'm new to asp.net development. I would like to ask if it is possible for one link button to have two or more commands? What I want to happen is that my link button should be able to handle the edit and update commands. Once i click the link in my…
JennyJane
  • 125
  • 6
  • 21
0
votes
1 answer

LinkButton not rendered completely

I have this function that I call in page int event Protected Function RenderLB(text As String, Id As String, argument As String) As [String] Using Lb = New System.Web.UI.WebControls.LinkButton Lb.Text = text Lb.ID =…
wala rawashdeh
  • 423
  • 5
  • 17
0
votes
3 answers

Click GridView link And Send The Value To A TextBox?

I'm a newbie in ASP.net development. I would like to ask on how to display data from grid view control to textbox control after click a link inside my gridview. Please note the code below for link. Also I don't want to use the auto generate select…
JennyJane
  • 125
  • 6
  • 21
0
votes
1 answer

LinkButton display at unnecessary time

I have a LinkButton(LinkButton_x) in my aspx page. i'm using this LinkButton to check all boxes in CheckBoxList. when i clicked on this LinkButton(LinkButton_x), code in partial class is executing to select all the boxes in CheckBoxList. also have…
Bishan
  • 15,211
  • 52
  • 164
  • 258
0
votes
1 answer

How to get the link button id which is in gridview1 on button1click which is in gridview2 - asp.net

i have placed two gridview controls,in which i have buttons. i have linkbutton in gridview1 and button1 in gridview2. i need to get the linkbutton id on button1 click in grdiview2. here is the snippet of my code:
vaishnavi
  • 1
  • 1
  • 5
0
votes
1 answer

Command Argument not working link button

I have a link button and a set of records. When the link button of a specific record is clicked, i want the id of that record to be passed to the code behind. This is the code that i have used:
Seema
  • 107
  • 2
  • 5
  • 13
0
votes
1 answer

How to add Controlls on runtime to a Gridview?

First of all the ASPcode, the problemdescription below.
DatRid
  • 1,169
  • 2
  • 21
  • 46
0
votes
2 answers

delete link gets disappear on clicking edit link in gridview

I am having a gridview and I have showeditbutton property false, showdeletebutton property true.Edit is a link button and a row command event is fired on clicking it. Now,my problem is that in gridview, when I click on edit link, delete link gets…
Khushbu
  • 205
  • 2
  • 5
  • 19
0
votes
1 answer

link btn working but looks like normal text

I have a link btn, which when clicked performs the task it should. However it does not appear as a link btn it just looks like a normal piece of text. I have narrowed it down to somewhere in my css file the text-decoration for that property is being…
John
  • 3,965
  • 21
  • 77
  • 163
0
votes
4 answers

link button not showing as a link

link btn not displaying as it should The data inside the 'Text' doesnt appear…
John
  • 3,965
  • 21
  • 77
  • 163
0
votes
1 answer

Nested Repeater Control with Link Buttons

I am trying to create a drop down menu with nested repeaters and link buttons.
0
votes
3 answers

change from hyperlink to link btn

Had to change from asp:hyperlink to asp:linkButton, can no longer use navigateUrl in link button...any suggestions?
John
  • 3,965
  • 21
  • 77
  • 163