Hi,

   The below column display Amount so I am trying to alighn it to the
right. But it doesn't seem like it aligns to the the right when I
click on the Edit button on the row on my DataGrid. Can some please
help me to see what am I missing here?

Thanks,

-L

<asp:TemplateColumn HeaderText="Contri<br>bution With Held">
                                                                                
<HeaderStyle Font-Bold="True" HorizontalAlign="Center"></
HeaderStyle>
                                                                                
<FooterStyle Font-Bold="True" />
                                                                                
<ItemStyle Width="40px" CssClass="SFGridItem" VerticalAlign
="Bottom" HorizontalAlign ="right"></ItemStyle>
                                                                                
<ItemTemplate>
                                                                                
        <asp:Label id="lblContributionWithHeld"
runat="server" CssClass="SFGridItem" Width="40px" Text= '<%#
DataBinder.Eval(Container.DataItem, "ContributionWithHeld","{0:c}")
%>' />
                                                                                
</ItemTemplate>
                                                                                
<EditItemTemplate>
                                                                                
        <asp:TextBox id="txtContributionWithHeld" runat="server"
CssClass="SFGridItem" width="40px" Text= '<%# Server.htmlencode
(DataBinder.Eval(Container.DataItem, "ContributionWithHeld")) %>' />
                                                                                
        </EditItemTemplate>
                                                                        
</asp:TemplateColumn>

Reply via email to