Questions tagged [linkbutton]

An ASP.Net webcontrol that renders as a link but has a button event model made available to the programmer.

444 questions
0
votes
1 answer

The problemis that the button's OnClick works just fine in updating the database but using LinkButton has no effect

//LinkButton definition in aspx page Update //linkUpdate_Click - the action i want to get executed when the linkbutton is clicked protected void…
0
votes
1 answer

Link button click event not firing in tab panel

I have a link button on a tab panel which displays a ModalPopupExtender. The problem is its onclick event is not getting fired. Whenever the link button is clicked, the modal popup shows (which should happen) but the click event is not…
who-aditya-nawandar
  • 1,334
  • 9
  • 39
  • 89
0
votes
2 answers

OnClick events for dynamic LinkButton

I have a series of Hide/Show LinkButtons dynamically created. Each button corresponds with a GridView. I want to have the OnClick event of the button Hide or Show the GridView. How do I reference the specific corresponding GridView in the…
Jenny54321
  • 47
  • 1
  • 2
  • 7
0
votes
1 answer

Getting the key value to pass in another page from a LinkButton in a Telerik grid

I have a grid which has the CarrierID specified as the "DataKeyNames" which is also an invisible property in the grid. I have a hyperlink column that when clicked should pass the value of the CarrierNetID (the keyvalue for that dataitem) into my…
sagesky36
  • 4,542
  • 19
  • 82
  • 130
0
votes
1 answer

Linkbutton not disabling?

This is a weird one... On my webform I have a linkbutton. Depending on a value pulled from the database, this button is either enabled or disabled. The linkbutton launches a modal dialog. The problem is when the linkbutton is set to enabled=false,…
Tim
  • 4,051
  • 10
  • 36
  • 60
0
votes
0 answers

link btn re-direct holding session variable

I want to use a link button to run a function 'LoadCheckListRecordEntry' which sets a session and re directs the user...However the page seems to be loading be the session is set?? ALthough the html is running the code b4 the 'DiaryEntId' actually…
John
  • 3,965
  • 21
  • 77
  • 163
0
votes
1 answer

ASP.NET call a function in code behind with LinkButton

I have this LinkButton here and I am trying to call this function in my code behind protected void…
user1269625
  • 3,121
  • 26
  • 79
  • 111
0
votes
2 answers

How to access a gridview delete button alongside an edit button

I'm running into an issue having a "delete confirmation" pop up if someone selects the "Delete" link in a gridview. More specifically, the pop up does work when clicking the "Delete" link, but the pop-up also comes up if I click the "Edit" link next…
kyle_13
  • 1,173
  • 6
  • 25
  • 47
0
votes
2 answers

How to highlight page numbers in PagedDataSource to paginate Repeater

I am using PagedDataSource To Paginate Repeater and it works fine but is there a way to highlight selected page number or make it bold. I tried css, itemcommand,and click event but no luck. Thanks in advance Repeater:
Cihan Behen
  • 23
  • 1
  • 7
0
votes
1 answer

Adding a Javascript string value in a LinkButton inside a DataList Item on ASP .NET

I was able to create a client script click event on a link button for normal ID's and numbers. But when I tried to do this with a string it causes a parse error. Not the difference lies on adding the single quote to enclose the Even("name") value.…
Nap
  • 8,096
  • 13
  • 74
  • 117
0
votes
3 answers
0
votes
1 answer

Looking to make date field on a gridview a link button?

I'm displaying a gridview with several entries of data, one of the data fields is date, I want the user to be able to click any date on the gridview, and use it to start a process on the same page, which would include hiding the gridview and…
user1676874
  • 875
  • 2
  • 24
  • 45
0
votes
3 answers

ASP LinkButton onclick show div

I'm new at Jquery and im trying to display a div on the LinkButton ClickEvent (If I use a button instead of a linkbutton it will work) This is my Jquery code