Render a ListView to HTML using C#? RRS feed

  • Question

  • Is there a way in C# to render the current contents of a ListView control to HTML?   I'm looking for something that would know how to apply the ListView's current Item/Data templates and create a reasonable approximation of the ListView's current contents into a block of HTML.  I need this for sharing the content between WinRT apps via the Share contract.

    -- roschler

    Monday, February 10, 2014 6:44 PM


  • There's nothing built in for this, but you could build your own HTML based on the underlying data bound to the ListView. Since you'd need just a static display it shouldn't be too hard to set that up.


    Monday, February 10, 2014 8:00 PM