Hello, I wrote a nice framework for "traditional" asp pages that simulate the ASP .NET framework event model and I have been testing and it works nice (nothing compated to the real deal, of course). I think that the code looks nice and performs very good. The
reason I code this thing is because I'm so used to ASP.NET that when I had to do some coding for traditional ASP pages I decided write something so my pages look the same way (I work as a consultant). It uses a similar even model ( page init, load view state
(on postbacks), process postback events, save viewstate and terminate ). I even added one called "controls init" that is only called the first time the page loads and right before the page load, so you don't have to do the If Not Page.IsPostback thing in the
page_load... Anyway, I want to share the code, I have the following: The framework itself (webcontrol, page, web controls collection with control hierarchy and all that stuff, automatic event notification), and the following "controls": Checkbox, Checkboxlist
*, Radio button list * Button Image button * Dropdown/list * Textbox (all modes) Data Table * User Control Example * can be binded to a recorset I'm working on finishing the details of the datatable. All controls (but the DataTable) can use viewstate... I'm
working on the datatable viewstate... but is messy. Everything is VBScript with the exception of the ViewState (a VB COM Wrapper for an XML), the Base64 encoder/decoder, a wrapper for the Compress/UnCompress (for viewstate compression, if needed), and a XML
Wrapper for ListItems collection (for checkboxlist and dropdowns...) Who wants this?, I have been using it and it executes nicely. My latest addition was the use of the zlib library to compress the viewstate if the size exceeds n size... :-) Regards,
Christian Calderon
Principal, Software Architec and Delivery
http://www.eki-consulting.com
http://www.linkedin.com/in/chriscalderon
ccalderon
Contributor
4732 Points
955 Posts
ASP.NET in "Traditional" ASP ?
Oct 08, 2003 06:32 PM|LINK
Principal, Software Architec and Delivery
http://www.eki-consulting.com
http://www.linkedin.com/in/chriscalderon