Exposing Properties and Methods to Your ASP.NET Pages

I’ve slipped and included some of what I am going to explain here in the previous example, but I didn’t want to make the previous example too plain vanilla. I am trying to get the gears rolling in your head, and one way I like to do that is not giving examples that are so, well, boring when I introduce new concepts.

User controls are, as I’ve said at least twice if not three times, objects just like everything else in the .NET Framework, and because of this we can use them and their properties and methods in ASP.NET web form pages just like other objects. Here you’ll investigate, explore, and uncover ways of using this stuff in your applications.

Properties

There are two different types ...

Get ASP.NET for Web Designers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.