Search

About Me

Name of author
Mike Snell
Microsoft Regional Director (TheRegion) and advocate for all things .NET and Visual Studio.

E-mail me Send mail

Disclaimer

The opinions expressed herein are my own and do not represent my employer's view in any way.

Calendar

<<  September 2010  >>
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

Categories


Tags


Blogroll


Sign in

Creating Custom Controls in ASP.NET

Posted on July 24, 2009 10:05 by mikesnell

I have a second sample chapter from my book, “Microsoft .NET Framework 3.5—ASP.NET Application Development”. This sample is the full version of chapter 10, “Creating Custom Web Controls”; you can download it by clicking the link at the end of this post.

I wrote this chapter based on what I believe developers need to succeed when writing most Web applications inside of ASP.NET. For this reason, I first focused on creating basic user controls. This is a principal skill required by ASP.NET developers to enable fast, straightforward code-reuse and consistency across their Web application.

This first lesson of the chapter is all about user controls. This includes managing events, working with properties, consuming controls, and even dynamically loading user controls at runtime. I also covered templated user controls for those times when you need a custom layout for your user control’s UI representation.

The second lesson is the more advanced topic of custom Web server controls. These controls provide re-use across applications. They can be compiled separately, installed, versioned, and shared . You can use the techniques in this lesson to create UI controls that are similar to those you buy or use inside of Visual Studio. This includes features like Toolbox support, custom designers, default properties, and more.

I hope you enjoy this sample chapter. Like all chapters in the book, it includes detailed labs and questions designed to help you study for the certification exam. You can get access to the lab source code and answers to the sample questions by purchasing the book.

9780735625624_CH10.pdf (804.47 kb)

Currently rated 3.0 by 2 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

ASP.NET AJAX and Client-Side Scripting

Posted on July 22, 2009 13:21 by mikesnell

I wanted to post a sample chapter from my book covering the MCTS Exam, 70-562: Microsoft .NET Framework 3.5—ASP.NET Application Development. You can download chapter 6, “Working with ASP.NET AJAX and Client-Side Scripting” using the link at the end of this post.

I wrote this chapter to help readers better understand the AJAX-related features that are now built into the .NET framework. This includes the AJAX extension controls such as partial-page update (UpdatePanel), progress indicator (UpdateProgress), and the timer control (Timer).

In lesson 2, I wanted to cover some Javascript basics and walk through the new Microsoft AJAX Library. This library is a wrapper that speeds your Javascript development by providing support for strong types, debugging, and more.

I hope you enjoy the sample chapter. Please feel free to send me feedback!

9780735625624_CH06.pdf (953.60 kb)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5