Questions tagged [asplinkbutton]

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

139 questions
1
vote
0 answers

ASP C#: TreeView and LinkButton

I work on a web projects in ASP C#, in my MasterPage i have a TreeView and two LinkButton which Collapse and Expand the nodes of the TreeView, both LinkBuutons work properly but after it's Expand or Collapse the TreeView, it's create others…
1
vote
4 answers

linkbuttons postback before executing click event code?

I am trying to add a basic switch to my site in order to switch between static and responsive layouts. I have two linkbuttons at the bottom of my page:
Switch…
Wompguinea
  • 378
  • 3
  • 19
1
vote
2 answers

How to pass session value from aspx (stored using javascript) to cs

I am able to store the session variable in aspx page using the following way : $(document).ready(function () { var userName = "webruster"; '<%Session["UserName"] = "' + userName + '"; %>'; …
Krsna Kishore
  • 8,233
  • 4
  • 32
  • 48
1
vote
1 answer

How to get values before bind into Gridview using c# asp.net

I am retrieving some data from database and going to bind in Grid view using c# asp.net.First i would like to explain my code and then i will explain my requirement. index.aspx:
satya
  • 3,508
  • 11
  • 50
  • 130
1
vote
0 answers

Oncommand event is not working for link button in list view

i am using image button and link button in list view and binding data in onload method.oncommand for image button is working fine but oncommand for link button is not firing here is code of list view:
Ali Khan
  • 11
  • 1
1
vote
2 answers

"Parser Error Message: The server tag is not well formed" in ASP.NET

I am getting Error in Line 17. But I can't find it out. ` Line 15: Line 16: Line 17:
Khaled Saifullah
  • 2,279
  • 3
  • 25
  • 26
1
vote
1 answer

dynamic linkbutton not calling command when clicked

New to dynamic controls, but until now I have been creating them successfully in a template field in my gridview, recently switched from a hyperlink to a link button and had to make some changes but still not working In my page I have the following…
hardya
  • 51
  • 8
1
vote
1 answer

LinkButton click event not firing when any action done on ENTER key instead button click

There is ImageButton and LinkButton combined in a span and bounded with same ClickEvent to exit from current location. On the same page there searchTextBox and button to start search action. Now the problem is: When I enter some text in textbox…
PawanS
  • 7,033
  • 14
  • 43
  • 71
1
vote
2 answers

ASP.Net LinkButton Does not update on first post back

Inside a ListView Control's I'm using a LinkButton. When the List populates it has a set of LinkButtons. The link button text's are generated from a column in the records retrieved using a data source. When I click on a LinkButton, I…
Shaamil
  • 244
  • 8
  • 17
1
vote
1 answer

Changing LinkButton Onclick event

I'm trying to create LinkButtons Dynamically and change their onclick event from the server side like this: for (int i = 1; i <= pagenum; i++) { LinkButton pb = new LinkButton(); pb.Text=i.ToString(); …
1
vote
3 answers

The server tag is not well formed. LinkButton inside repeater

')"> I want to call the OnClientClick to call javascript method with passing a parameter. I…
ND's
  • 2,155
  • 6
  • 38
  • 59
1
vote
2 answers

change font color of link button in asp.net through CSS with hover properties

I want to change color of link button so I made CSS like this: .stylink a { font:10px; color:white; } a:hover { font:12px; color:#ff0; } I have link button:
arsha
  • 53
  • 1
  • 3
  • 7
1
vote
1 answer

ASP.NET LinkButton not rendered correctly in IE7

We have an issue (one of many) with a customer who switched to MS IE 7 just a few weeks ago (yes, yes, I know....... don't ask.....) In our ASP.NET app, we have a series of controls for navigation inside a HTML table, each link…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
1
vote
2 answers

Linkbutton click in a asp:GridView cell does not trigger OnRowCommand event

UI Feature: I have a GridView with few columns. Most important column is PcCode, which shows a string value for each row. Expected: When I click on one of the cell from a row of that PcCode column another GridView should be displayed. However, when…
PineCone
  • 2,193
  • 12
  • 37
  • 78
1
vote
2 answers

Transparent LinkButton in ASP Repeater on jquery click event

Introduction: I have a repeater with linkbuttons, and when I click on some button, I want it and only it to become transparent, and that the rest of the buttons wouldn't change. D-Tails: I have a Repeater of LinkButtons:
Yanker
  • 292
  • 5
  • 10
  • 25
1 2
3
9 10