This is a migrated thread and some comments may be shown as answers.

CustomTemplateColumn

0 Answers 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Random
Top achievements
Rank 1
Random asked on 13 Oct 2012, 10:49 AM
Hi.

I like to apply from my code behind a style attribute that can change with every postback,
sadly the TableItemStyle class doesnt have a property of Type CssStyleCollection.
(I would like to recommend this property with the next versions)

Since this property is missing and "max-width" isnt a property aswell, i tried to make my one TemplateColumn override the HeaderStyle Property with a CustomTableItemStyle class and finally there override the AddAttributesToRender Methode... but this fails and nothing gets renderd.

Hope you can help me solve this problem.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Random
Top achievements
Rank 1
Share this question
or