66020 members! Sign up to stay informed.

Sponsored Links


Resources

.NET Research Library
Get .NET related white papers, case studies and webcasts

Samples Samples Samples Messages: 0 Messages: 0 Messages: 0 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Tic Tac Toe as Composite

Posted by: Nuno Teixeira on September 29, 2004 DIGG
This sample shows how to make a composite control in ASP.Net. The control is a standalone game of tic-tac-toe. The cells are buttons that raise events back to the server. The control uses the ViewState to keep track of whose turn it is to play. In addition, the control raises a custom event when the game is over. The winning algorithm uses a regular expression for ease of use. The control implements the INamingContainer interface which provides name scoping. As a result, multiple games can be played on the same web page.

by Christophe Fouquet

Download the Sample


Free book downloadFree book downloadFree book download

Essential XML Quick Reference: A Programmer's Reference to XML, XPath, XSLT, XML Schema, SOAP, and More

Essential XML Quick Reference looks at mainstream XML technologies and serves as a thorough quick reference that answers the most common XML-related technical questions. It provides complete coverage of each topic along with plenty of meaningful examples.

Servlets and JavaServer Pages: The J2EE Technology Web Tier

Servlets and JSP: the J2EE Web Tier covers how to install a Servlet/JSP environment and what is in the JSP 2.0, Servlet 2.4, and JSTL 1.0 specs. The book also covers state management, design patterns, internationalization support, multi-client design, Java database connectivity, and more.
BooksBooksBooks
Advanced Visual Basic 6
Matthew Curland


Essential XML Quick Reference
Aaron Skonnard


Component Development for the Java Platform
Stuart Halloway


Essential COM
Don Box


Developing Applications with Visual Studio.NET
Richard Grimes


C# Primer
Stan Lippman


Essential XML: Beyond MarkUp
Don Box


VB.NET Core Classes in a Nutshell
Budi Kurniwan


ASP Internals
Jon Flanders


Essential ADO.NET
Bob Beauchemin


Debugging Windows Programs
Everett McKay


C# in a Nutshell
Peter Drayton


ServerBased Java Programming
Ted Neward


ATL Internals
Brent Rector


Transactional COM+
Timothy Ewald


Java Rules
Douglass Dunn


Effective Visual Basic
Ted Pattison


Programming Windows Security
Keith Brown


Essential IDL
Martin Gudgin


Essential ASP.NET with Examples in Visual Basic.NET
Fritz Onion


Essential ASP.NET with Examples in C#
Fritz Onion
LinksLinksLinks
Read more Perfect XML
Read more .NET 247 resource site
Read more DM's .NET Web Mailing List
Read more Terrarium
Read more DM's DOTNET Mailing List
Read more DM's Webservices Applications List
Read more XML.com
Read more DM's Webservices Futures Mailing List
Read more The Jakarta Project
Read more DM's SOAP Mailing List
Read more Microsoft .NET Homepage
Read more MSDN Magazine
Read more xmlhack.com
Read more Microsoft GotDotNet Site
Read more Microsoft .NET ECMA Working Documents
Read more DM's DIME Mailing List
Read more DM's DOTNET-ADVOCACY Mailing List
Read more W3C XML
Read more Microsoft's Web Services
Read more XML-DEV
Read more XML.org

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map