In one of our application we have to implement item drag/drop functionality on the page and later export that page to HTML along with JQuery and CSS.
I would like to use Silverlight as my application development to give a greater user experience. Like to add item drag and drop facility from one item container to another.
But the final thing we want to implement is, that once we are ready with our drag and drop on canvas/page we would like to export that canvas/page to pure html along with Jquery and CSS.
So the question is: Is it possible to export canvas to html? If yes please provide sample code.
If I understand your question correctly, you want the end-result of some Silverlight operations to be displayed using HTML without using Silverlight.
If that is correct the only simple option that occurs to me is: Render your canvas to a PNG on the client, send it back to the server, and serve it up as an image in HTML.
There are lots of how-to’s so I would suggest simply Googling: http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=silverlight+how+to+export+a+canvas+to+a+bitmap&safe=active
If you are actually wanting to do something else (e.g. generating interactive HTML content) then please clarify your question.