Friday, May 11, 2007

Day 3 - AJAX

Michael created a simple ajax test page, which I shamelessly hijacked:

http://mateer.dnserver.net.nz/ajaxtest/default.aspx This has no Ajax on int. It is simply a Literal object (text) and 2 buttons, with code behind which does the click event.

http://mateer.dnserver.net.nz/ajaxtest/default2.aspx This has Ajax working.


Phil worked on Spikes:
http://mateer.dnserver.net.nz/phil3/ This again is working under a virtual directory. Here is one that has the upper update panel with a timer inside of it, and a label which adds another . on every tick.

The second has a drop down list (hard coded with data) and the event:
OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged". This runs a filter on the SQLDatasource which is bound to the GridView below it.



How to covert an existing project into an AJAX project

http://community.rampgroup.com/blogs/ramp_technology_group/archive/2006/06/14/82.aspx

There is a sample AJAX datbase application here: (press go at the end to see it running)

http://ajax.asp.net/docs/tutorials/CreateSimpleAJAXApplication.aspx

No comments: