views:

21

answers:

1

HI ,

I am currently trying to learn more about custom controls and how to use them etc. i have come across iTemplate interface and was hoping that someone could better explain its use and point me toward a good example implementation. From what i have found it allows you to change how an asp.net control will display items. ive tried searching code project etc for a good example but none explain it well. Id ideally like a very basic example and a more complex one.

thanks Niall

+1  A: 

ITemplate: Defines the behavior for populating a templated ASP.NET server control with child controls. The child controls represent the inline templates defined on the page. (taken from MSDN).

Take a look at these great tutorials: Developing Custom ASP.NET Server Controls or Templated Server Control Example.

XIII
thanks for that examples are good.
NBrowne