WinJS.UI.SearchBox not available RRS feed

  • Question

  • There is nothing I can do to get the WinJS controls to show up.  When I am in my HTML I would like to add a SearchBox but it won't let me add it. Here is some trivial code:

    <!DOCTYPE html>
        <meta charset="utf-8" />
        <!-- WinJS references -->
        <link href="/css/ui-themed.css" rel="stylesheet" />
        <script src="//Microsoft.Phone.WinJS.2.1/js/base.js"></script>
        <script src="//Microsoft.Phone.WinJS.2.1/js/ui.js"></script>
        <link href="/css/default.css" rel="stylesheet" />
        <script src="/js/default.js"></script>
        <div data-win-control=""></div>

    But when I do this it wont list a WinJS.UI.SearchBox for me to use, if I type it in anyway I get zero functionality. This has been a most frustrating experience with WinJS, please help. I have resinstalled the 8.1 SDK about 4 times now and I have all the latest updates to the SDK.

    • Edited by Brewsky31 Tuesday, May 20, 2014 3:52 AM
    Tuesday, May 20, 2014 3:51 AM


All replies