Hi All,
I have a gridiew inside that i have child control means (listview) in list view i am using link button .. now how can i find gridview control( lable etc) while clicking on link button.
my code for listview contrl( link button) is like this
protected void lnktestname_Click(object sender, EventArgs e)
{
LinkButton linkbtn = (LinkButton)sender;
ListViewItem item = (ListViewItem)(linkbtn.NamingContainer);
}
inside gridview there is lable and textbox now how i can found this control inside this code ..
i have used .parent.parent but nothing happening.