Click here to Skip to main content
15,662,626 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have a datagrid with linkbutton within the datagrid. When i click on link button there is no response. I have tried in different ways like
1. after data binding to the datagrid
2. AsyncPostBackTrigger ControlID="lnk1" EventName="Tick"

can any one please tell me How to fire the linkbutton

Thanks & Regards,
m@dhu 12-Oct-10 6:04am    
Can you show us your code that would be easy for all to answer.
Sandeep Mewara 12-Oct-10 6:21am    
It would be difficult to suggest without seeing your code. Edit your question and add some code snippet rrelated to it.
Sunasara Imdadhusen 12-Oct-10 10:04am    
Which column type you used like Template column or Linkbutton?

1 solution

you can use rowcommand event of gridview in here is a example of this event
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
       String index;
       if (e.CommandName == "View")
           your code
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900