Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Part 5: Quick Tour of WinJS (2 of 2)

Download

Right click “Save as…”

Continuing on our exploration of WinJS, we look at Lists, binding ListViews to Lists, adding an App Bar, and more.

Tags:

Follow the Discussion

  • CloudCloud

    i'm having thes problem her :
    Exception is about to be caught by JavaScript library code at line 20074, column 9 in ms-appx://microsoft.winjs.1.0/js/ui.js

    0x800a138f - JavaScript runtime error: Object expected

    when i use the data-win-options="{ itemTemplate : select('.mytemplate')}" ....

  • @Cloud: I may need to see more code.  Can you point me to the exact part of the Hands On Lab (Lab, Lesson and Task) where you added this?  Did you type it in by hand?  Or copy and paste it from the lesson text?  I'll try to help if I can but I need as much information as you can throw my way.  thanks!

  • I'm curious why my HelloWorld crashes when I insert a closing '>' to my button in the default.html <div data-win-control="WinJS.UI.AppBar">  section

    The app runs fine without it, as I noticed it did in your demo too. But  the HTML5 Validation complains about the missing >

    Great series. Thank you.

  • @Bomar: It is self-enclosing, right?  In other words, it uses the /> not just the > on the end of the <div ... right?

    Ultimately, WinJS strips out that div and replaces it with the control AppBar (which is more HTML and JavaScript).  That's more of an "internals of WinJS" topic ... not sure HOW it does it ... maybe that helps a little?

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.