> > However, again, this is certainly doable in CF. If ASPX > uses a second > > file <filename>.aspx.cs to contain such code, you could easily make > > button.cfm check for the existence of such a file and then > include it > > so it could call custom event handlers for your specific button. > > Not sure what you mean here. In ASPX, you only need zero-one > codebehind file for any given page. In that file, you would > specify properties/events/etc for all objects on that page. >
Isn't there 3 files? The caller file, th ecustom 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. -rc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4