2.07.2007

ASP.NET side basically done

I'm basically got everything on the ASP.NET backend working. ObjectFactory now returns a single object of a new class called "ObjectFactoryResponse", which includes a collection of both regular ObjectFactory objects and a collection of another new class, WebServiceControlData. WebServiceControlData contains the item's Id, the rendered HTML and a collection of ScriptDescriptors (used for sending values to AJAX Sys.UI.Controls).

It was kind of tricky getting it to render the HTML without being on a real page - I forgot/didn't realize/should've known/etc that HtmlTextWriter needs have Flush() called before it actually writes anything to the stream. I'm guessing that method is normally automatically called by the Page object. It took me a bit of playing around to figure that one out.

The really nice part is that the overall amount of work that was required to get to this point was considerably less than I thought it would be. Now I have to wire up everything on the client side, which I think will actually be quite a bit more effort, since I'm not nearly as familiar with AJAX.

Labels: , , , , , ,


Comments: Post a Comment



Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]