ASP.NET in "Traditional" ASP ?http://forums.asp.net/t/360734.aspx/1?ASP+NET+in+Traditional+ASP+Wed, 15 Oct 2003 09:34:20 -0400360734360734http://forums.asp.net/p/360734/360734.aspx/1?ASP+NET+in+Traditional+ASP+ASP.NET in "Traditional" ASP ? 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, 2003-10-08T18:32:54-04:00360898http://forums.asp.net/p/360734/360898.aspx/1?Re+ASP+NET+in+Traditional+ASP+Re: ASP.NET in "Traditional" ASP ? Compressing the view state is a feature I am hoping the introduce in the new 2.0 framework ( *crossing fingers* )! Do you have something that does it for just regular asp.net? 2003-10-08T21:13:46-04:00361055http://forums.asp.net/p/360734/361055.aspx/1?Re+ASP+NET+in+Traditional+ASP+Re: ASP.NET in "Traditional" ASP ? Just for the framework that I coded because I have control over the viewstate before is being sent to the browser... sorry! 2003-10-09T00:12:53-04:00366882http://forums.asp.net/p/360734/366882.aspx/1?Re+ASP+NET+in+Traditional+ASP+Re: ASP.NET in "Traditional" ASP ? i want to have a look at it. you can send me the code .. thanks ... 2003-10-15T09:11:35-04:00