This is a migrated thread and some comments may be shown as answers.

Breaking changes - Q2 SP1

2 Answers 63 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
ManniAT
Top achievements
Rank 2
ManniAT asked on 27 Aug 2010, 11:17 AM
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

2 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 27 Aug 2010, 03:09 PM
Hi ManniAT,

You are absolutely right. We are aware of this issue and will push the null value back for the next version.

There will be no IsBound / IsUnbound property - the only criterion will be whether the Source property is null or not.


Kind regards,
Veselin Vasilev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rossen Hristov
Telerik team
answered on 10 Sep 2010, 06:48 AM
Hi ManniAT,

I have fixed this and the Source will be null with the Latest Internal Build coming out today. Let me know if there are problems after upgrading.

Best wishes,
Ross
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DataPager
Asked by
ManniAT
Top achievements
Rank 2
Answers by
Veselin Vasilev
Telerik team
Rossen Hristov
Telerik team
Share this question
or