O'Reilly logo

ASP.NET for Web Designers by Peter Ladka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required