GridView gv = (GridView)UserControl.FindControl("gridview1"); gv.RowCommand += new GridViewCommandEventHandler("name of the event you want to call from parent page");
this.NamingContainer
this.Page
MyPageName objMyPageName = this.NamingContainer as MyPageName;
if(objMyPageName != null) { objMyPageName.CustomMethod(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)