Questions tagged [asplinkbutton]

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

139 questions
2
votes
1 answer

compilation error: oncommand and CommandArgument in LinkButton

I have a LinkButton in a repeater on my aspx page and I am calling a function oncommand and passing a parameter via CommandArgument but it is giving me compilation error. what am I missing here?? what should I do to fix this problem? aspx code: …
2
votes
1 answer

Concatenating a #EVAL to a OnClientClick function

I'm trying to concatenate an Eval data to an OnClientClick function. What I did is this: Activate But it shows the code of…
marchemike
  • 3,179
  • 13
  • 53
  • 96
2
votes
0 answers

C# usercontrol LinkButton CommandArgument blank after grid subheading

I have an asp:Gridview that displays the amount of time a staff member spends on a project and their comments. I wish to make the date a sub heading within the grid, so it is not displayed on every line of the grid. The grid cannot be sorted. The…
2
votes
1 answer

link button click event is inaccessible due to its protection level

I am working on a project.I am creating an asp table dynamically and in table cell I am adding link button depending on condition.But while adding the Click event to link button it is giving an error…
rupinder18
  • 795
  • 1
  • 18
  • 43
2
votes
0 answers

Safari, ASP.NET 4, and LinkButton

I have an ASP.NET Web Application using .NET Framework 4 and it is working fine on all browser when I test it locally using my Visual Studio Pro 2010, but when we deploy it to our server (IIS7 on Windows Server 2008 R2), the LinkButtons of my Web…
John Isaiah Carmona
  • 5,260
  • 10
  • 45
  • 79
2
votes
1 answer

switch from type="button" to asp:LinkButton

was trying to switch from button to hyperlink(previous post) but couldnt get it working so have decided to use the link button instead. in my aspx page I am using