The Bitmap is back...!

Tags: .NET, AJAX, Ajax.NET, ASP.NET, JavaScript, JSON, Source Code, Web 2.0

Today I added the BitmapConverter.cs which will support returning a Bitmap directly from Ajax.NET Professional. Attached to the Google groups thread you will see what is working today (the Bitmap example is the method Test27). Of course, I didn't add all data types...  ;)

If you will return a Bitmap you can access the Bitmaps source location or create an Image object from it:

<script type="text/javascript">
function callback(res) {
    var bmp = res.value;
    var ele = $("display");
    ele.innerHTML = "The location of the image is " + bmp.src + "!";
    ele.appendChild(bmp.getImage());
}
</script>

What do you think? Write your feedback in the Google group...

No Comments