Need to rename Grid column names in a Dynamic Data website
Posted on 2011-03-21
I have created a table which maps column names to the display names we want Dynamic Data to show. And I have succeeded in a few cases, like the Details page, getting the display name inserted and shown by Dynamic Data. But when it comes to the List.aspx page, the Label_PreRender() event only deals with relations, and does not fire when a column is being created.
Can anyone give me some advice? This page inherits from System.Web.UI.Page, and I need to find how to overwrite the column names.