> Isn't there 3 files? The caller file, the custom file for > codebehind, and the file that defines "button" itself. Unless > the "button" itself is part of the application server. So, at > worse, 3 files in CF, 2 files in ASPX, but I still say the > feature you describe is possible.
In ASP.NET, there's no discrete file to define the button, per se - it's defined within the .NET Framework, like everything else. But yes, I agree that you could certainly build the same sort of event-driven framework and bolt it on top of CF. There's nothing magical about ASP.NET. The fact is, under the covers, both CF and ASP.NET generate HTML pages, and thus the event-driven framework used by ASP.NET is converted to what is essentially a batch program that generates output. The thing is, of course, that with ASP.NET, Microsoft has already done this for you, while with CF, you'd have to build it yourself, which would be quite tedious at best, I'm sure. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4