Bill Crawley
Jun 10th, 2011, 05:44 AM
Hi All,
I'm using POCO entities and am using MetaData to help with the UI.
This works ok, but seems to default the display. e.g.
[DisplayName("")]
[UIHint("NotEnabledForDecimal")]
public object TechnicalPriceRo { get; set; }
This gives me a an uneditable textbox with the value of the object (Good).
However, I want to reduce the width of the textbox and the contents are left aligned when I want them right aligned. Does anybody have any idea what I need to attach to my MetaData to make these 2 things happen?
Thanks
I'm using POCO entities and am using MetaData to help with the UI.
This works ok, but seems to default the display. e.g.
[DisplayName("")]
[UIHint("NotEnabledForDecimal")]
public object TechnicalPriceRo { get; set; }
This gives me a an uneditable textbox with the value of the object (Good).
However, I want to reduce the width of the textbox and the contents are left aligned when I want them right aligned. Does anybody have any idea what I need to attach to my MetaData to make these 2 things happen?
Thanks