locked
Refresh listview onNetworkStatusChange RRS feed

  • Question

  • I try to test the following scenario:

    Start the application without network connectivity. The landing page contains a listview grid with no data (nothing to show).

    When I enable network I'd like the app to auto refresh populating the listview with data.

    I registered network changes using the sample code provided, then when onNetworkStatusChanged is called, I execute the webservices (WinJS.xhr) to load the data, but the list is not refreshing. Since the datasource was originaly binded as empty shouldn't it render-refresh automatically when it changes?

    Can someone provide a solution in Javascript?

    Tuesday, September 4, 2012 6:29 PM

Answers