I am using a RadListView per the sample at http://www.telerik.com/help/aspnet-ajax/listview-datapager-for-paging.html
The Datapager is in the layout template. I want to access the PageSize of the Radpager in the code behind but I can not find it to set. Since it is in the Layout template it is not visible in the VS dropdown. I tried to simply place a value in the PageSize using <% =value%> and I get an error saying that the string value cannot be translated to Int32. I verified that the value is in fact a number. I tried to do a RadListView1.LayoutTemplate.FindControl but this not supported. Please help, my client really wants to be able to set this page size dynamically and I can find no way to get to this.
Thanks in advance for your help.
Terry
The Datapager is in the layout template. I want to access the PageSize of the Radpager in the code behind but I can not find it to set. Since it is in the Layout template it is not visible in the VS dropdown. I tried to simply place a value in the PageSize using <% =value%> and I get an error saying that the string value cannot be translated to Int32. I verified that the value is in fact a number. I tried to do a RadListView1.LayoutTemplate.FindControl but this not supported. Please help, my client really wants to be able to set this page size dynamically and I can find no way to get to this.
Thanks in advance for your help.
Terry