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

DatePicker needs networking capability. Why?

4 Answers 35 Views
DatePicker and DateSelector
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas
Top achievements
Rank 1
Thomas asked on 01 Jul 2014, 09:36 PM
Hi,
I have an app that doesn't use the networking capability and is proud of it.
Some day I added a RadDatePicker and was surprised when the store suddenly showed the app needed a data connection.

/Why is that?

Thomas

4 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 04 Jul 2014, 09:04 AM
Hello Thomas,

RadDatePicker does not require network capability to operate.
I have prepared simple app demostrating the concept. This issue you are getting might be a result of some other specific component or assembly referenced. In order to use DatePicker you need these assemblies:
  •  Telerik.Windows.Core.dll
  •  Telerik.Windows.Controls.Primitives.dll
  •  Telerik.Windows.Controls.Input.dll

Let me know if this helps.

Regards,
Tsvyatko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Thomas
Top achievements
Rank 1
answered on 04 Jul 2014, 09:38 AM
Hi,
sorry, but your sample needs networking, too! Did you check with the Store Test Kit?

I prepared a sample, too, and used the following steps:

* Created a fresh WP7.1 solution.
* Removed all capabilities in manifest.
* Verified no caps used by running Store Test Kit.
* Added references to
 Telerik.Windows.Core.dll
 Telerik.Windows.Controls.Primitives.dll
 Telerik.Windows.Controls.Input.dll
* Store Test Kit now shows ID_CAP_NETWORKING.

Regards,
Thomas

0
Tsvyatko
Telerik team
answered on 09 Jul 2014, 07:58 AM
Hi Thomas,

Please, excuse me for the confusion. You are quite correct - while the datepicker does not require or use networking, other components within Primitives assembly do. LiveTileHelper uses internally Microsoft.Phone.Shell which results in network capability message from WP7 Store Test Kit. This will result in automatic adding of network capability only for WP7 projects. Using WP8 or WP 8.1 Silverlight apps will not add this capability.

Regards,
Tsvyatko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Thomas
Top achievements
Rank 1
answered on 09 Jul 2014, 08:27 AM
Hi Tsvyatko,
I wonder why I didn't find this documented before I used DatePicker.
Sorry I have to say that but it may disqualifiy the Telerik controls for my app. As I'm sharing XAML and cs between WP7 and WP8 it's quite difficult to use them only in the WP8 version. I'll try dynamically loading DataPicker in code but I don't know if this work is worth it...
Regards,
Thomas
Tags
DatePicker and DateSelector
Asked by
Thomas
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or