Tuesday, February 10, 2009

Creating Server Controls [Part One]

Creating Server Controls [Part One]


Question 1: How do you declare the class a server control that must support data binding and data paging?

The class should inherit from DataBoundControl and implement the IPageableItemContainer interface; for example:

public class MyClass : DataBoundControl, IPageableItemContainer
{
   ...
}



Original questions authored by G. R. Roosta

No comments:

Post a Comment