I'm switching a web page over from using the GridView control to using the RadGrid control. One thing I'm stuck on is how to right-indent text in an item.
As you'll see in the first screenshot, the illustrated column is correctly indented. I did this very simply with this CSS Class:
However, that no longer seems to have any effect in the RadGrid. I tried changing several things but to no avail. Here's the markup code in question:
What do I need to do to make it look the same as in the GridView?
Robert W.
As you'll see in the first screenshot, the illustrated column is correctly indented. I did this very simply with this CSS Class:
.indentRight {padding-right:20px}However, that no longer seems to have any effect in the RadGrid. I tried changing several things but to no avail. Here's the markup code in question:
<telerik:GridBoundColumn DataField="TaskStdHours" HeaderText="Std Hours" ReadOnly="true" SortExpression="TaskStdHours" DataFormatString="{0:F2}"><br> <HeaderStyle Width="70px" HorizontalAlign="Center" /><br> <ItemStyle HorizontalAlign="Right" CssClass="indentRight" /><br> </telerik:GridBoundColumn><br>What do I need to do to make it look the same as in the GridView?
Robert W.