Dynamically created TemplateColumn does not raise SortCommand

J

Jules Dekker

Hi guys,

I,ve created TemplateColumns dynamically in DataGrid with custom class
implementing ITemplate. Columns have a SortExpression.

DataGrid allows sorting. When I sort the column it does not fire the Sort
Event on the server. So I'm left with a blank page, since all the
DataBinding etc. is coded in that event.

Any idea how to solve this?

Thanx,

Jules
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top