When i use AlwaysVisible in PagerStyle for a RadGrid i canĀ“t Access controls of the pager in databound.
<MastertableView PagerStyle-AlwaysVisible="true">
protected void grdListing_ItemDataBound( object sender, GridItemEventArgs e )
{
if (e.Item is GridPagerItem)
{
GridPagerItem pager = (GridPagerItem)e.Item;
Label lblGoToPageLabel = (Label)pager.FindControl("GoToPageLabel");
lblGoToPageLabel.Text = "mytext";
}
}
FindControls returns null.
if AlwaysVisible is false FindControl returns a value.
How can i Access controls if AlwaysVisible es true?
Thanks
Sergio Saiz