Solved

gridview right align header

Posted on 2014-10-11
1
190 Views
Last Modified: 2014-10-26
I have

             <asp:BoundField DataField="Core" HeaderText="Core" DataFormatString="{0:n}" >
                <HeaderStyle HorizontalAlign="Right"  ></HeaderStyle>
                <ItemStyle HorizontalAlign="Right"></ItemStyle>
            </asp:BoundField>

Ignores horizontal align

Any ideas?
0
Comment
Question by:charlesbaldo
1 Comment
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 40375512
It may be other CSS rules that are overwriting your  alignment. (e.g. Gridview Cssclass)
if you are using IE, use developer tools (F12) and inspect which Css rules are applied to the header and row cells.

If more help needed please post your whole grid view mark up as well as the results from developer tools.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question