Hi there,
I have a user control that defines a datagrid. In the code behind I have
implemented some general behaviour like paging, sorting, deleting etc.
How do I allow the aspx page that uses this User Control to define the
columns? Right now I have either AutoGenerateColumns set to true (in the
ASCX page), or defined the columns in the ASCX file myself.
But what I would like is that the page designer is able to define the
columns in the ASPX page, while the User Control takes care of all the
data related stuff.
Any ideas on this??
TIA.
Imar