Wednesday, July 13, 2011

ASP.net

Accessing the page's method from the usercontrol


SearchResults myparentPage = (SearchResults)this.Parent.Page;
myparentPage.BindRadGrid();


here usercontrol is located at contentplaceholder so this.parent.page