AJAX, ATLAX, ASP.NET and Blogger
The last couple of evenings I've been messing around with adding AJAX to my blog which is a Blogger account so that the comment will show up in a modal window but so far all I've got is that div tag that appears at the top of the page that really just contains an IFrame.
Carolann wants me to AJAX-ify her blog for her when I'm done with mine but I'm not sure if that's going to happen. I wish there was a better way to do comments with it.
What I did figure out though was a few things on getting my Blogger to create ASP.NET pages and not hurt me when it can't.
If you weren't aware, in an ASP.NET page, you don't actually have to put your page declaration for the Page object as the first item on the page. You can actually embed it inside of an HTML element. Why would you want to do this? Well, what if your aspx page is actually going to render as a .html page. We could do something like this then.
The nice part about this is that it will hide the part of the code if the page renders on as a HTML page which will happen in Blogger.
Also, you will need to change the Publishing> Blog Filename to "whatever.aspx" instead of "whatever.html" so that you can render the main page as an asp.net page. Also, under Archiving, change the Archive Filename to "Archive.aspx" instead of the default of "Archive.html".
Now that we've done this, we can start using inline ASP.NET code in our pages. I'm pretty sure that inline code is an ASP.NET 2.0 feature so your IIS server needs to be setup and running .NET 2.0.
What I've been trying to do is get the Atlas modal window to popup a dynamically generated div tag that I'm creating server side before poping up the div but for some reason there is a confict between Atlast UpdatePanel and Atlas modal window when I try to perform the operation. I'm sure there is a work around, I just haven't found it yet. I might post the source code if anyone is interested in seeing what I've created.