June 27, 2005
.NET | SevenCamels.Common.Cojay
Reinventing the Wheel
Well that was fun. I learnt something about Ajax, specifically Ajax.NET, and I got a nice code browser to boot. Inspired by Scott Watermasysk's Cojax, Cojay isn't as pretty, but it will do for now. Cojay is just for demonstration purposes at the moment since I haven't bought a license for the ComponentArt.Web.UI.TreeView control just yet.
Cojay ('cause y is after x) is functionally very similar to Cojax. I used a frameset instead of a one page layout, so the scrolling works a bit better (but the printing is a nightmare). The frameset was ripped straight from the MSDN Library -- I still have the same blue bar in the middle. :S I didn't get around to using the code highlighter, but I hope to do that sometime in the future.
The one fancy thing that I did manage to do was handle a user specified URL similar to how the MSDN Library works. This allows direct links to specific folders or files, complete with tree view synchronisation. Here is a quick demonstration of how that works...
Feel free to download the source code for the Cojay program here. I've put it under the GNU General Public License.
Posted by Adam Boddington at 08:26 PM | Comments (0)


Post a comment