Dhaval Patel
Dhaval Patel

Reputation: 7601

GridView Automatically text upper case in asp.net

Hello I have created below mentioned GridView

<asp:GridView ID="dgvReportOrderId" runat="server"
                    CssClass="table table-striped table-bordered table-condensed" GridLines="None"
                    AutoGenerateColumns="False" AllowPaging="true" PageSize="10" OnPageIndexChanging="dgvReportOrderId_PageIndexChanging">
                    <Columns>
                        <asp:BoundField DataField="OrderId" HeaderText="OrderId" />
                        <asp:BoundField DataField="Count" HeaderText="Count" />
                    </Columns>
                    <PagerStyle HorizontalAlign="Right" CssClass="GridPager" />
                    <EmptyDataTemplate>
                        No Data Found 
                    </EmptyDataTemplate>
                </asp:GridView>

and I have binded it with data, in data there is a lower case but when I see in browser it will be uppercase even I have checked with developer tool then I found the result as

enter image description here

can anyone please let me know where I have to check for this prob

Upvotes: 0

Views: 2493

Answers (1)

Gabriel Negut
Gabriel Negut

Reputation: 13960

The td or one of its ancestors has the text-transform: uppercase; CSS property applied to it.

Upvotes: 1

Related Questions