How to identify click event

Posted by Oswaldlily under ASP.NET on 4/26/2013 | Points: 10 | Views : 1345 | Status : [Member] | Replies : 2
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

Posted by: Jitendrasoft09 on: 4/27/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Dear,
You can identify click event using postback event , please refer below link that would be helpful for you-
http://forums.asp.net/t/1676488.aspx/1

Jitendra Kumar
If my post helps you, plz mark as an answer.

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

Login to post response