DatePicker needs networking capability. Why?

5 posts, 0 answers
  1. Thomas
    Thomas avatar
    3 posts
    Member since:
    Jun 2013

    Posted 01 Jul 2014 Link to this post

    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
  2. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 04 Jul 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. Thomas
    Thomas avatar
    3 posts
    Member since:
    Jun 2013

    Posted 04 Jul 2014 in reply to Tsvyatko Link to this post

    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

  5. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 09 Jul 2014 Link to this post

    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.

     
  6. Thomas
    Thomas avatar
    3 posts
    Member since:
    Jun 2013

    Posted 09 Jul 2014 in reply to Tsvyatko Link to this post

    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
Back to Top
DevCraft banner