How to identify click event

Posted by Oswaldlily under ASP.NET on 4/26/2013 | Points: 10 | Views : 1403 | Status : [Member] | Replies : 1
when i click link,window has to open..

How will i identify click event?
gv_rowdatabound(...)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
LinkButton lnkadd = (LinkButton)e.Row.FindControl("lnkAdd");
// if (lnkadd.Click == true)
{

}

}

}




Responses

Posted by: Santhi on: 4/26/2013 [Member] Starter | Points: 25

Up
0
Down
Hi

Refer this link:


http://www.codeproject.com/Articles/15677/Clickable-and-Double-Clickable-Rows-with-GridView

You have to write codes on rowcommand event.
You need to find the control there.
It has shown in that code.

Try that.. you will get it.

Thanks & Regards,
Santhi .V

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response