Hi,
as I noticed RadDataPager now supports "Unbound Mode".
This in Fact means that is initially bound to Telerik.Windows.Controls.RadDataPager.UnboundPagerSource
And this broke my app - before I checked if I have to bind via
if(rdpMyPager.Source == null) //needs to bind
But now the Source is never null. A check with
if(rdpMyPager.Source is Telerik.Windows.Controls.RadDataPager.UnboundPagerSource)
also fails - Protection level doesn't allow access.
I also found no property like "IsBound / IsUnbound".
I could (in this case) work around the problems since I know what it is bound to.
But this is not always possible.
So is there a way to check if the pager is bound in a way like i did before with ...Source==null?
Manfred
as I noticed RadDataPager now supports "Unbound Mode".
This in Fact means that is initially bound to Telerik.Windows.Controls.RadDataPager.UnboundPagerSource
And this broke my app - before I checked if I have to bind via
if(rdpMyPager.Source == null) //needs to bind
But now the Source is never null. A check with
if(rdpMyPager.Source is Telerik.Windows.Controls.RadDataPager.UnboundPagerSource)
also fails - Protection level doesn't allow access.
I also found no property like "IsBound / IsUnbound".
I could (in this case) work around the problems since I know what it is bound to.
But this is not always possible.
So is there a way to check if the pager is bound in a way like i did before with ...Source==null?
Manfred