This is a migrated thread and some comments may be shown as answers.

Radgrid ItemStyle-Vertical Align Not Set

0 Answers 311 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kemal
Top achievements
Rank 1
Kemal asked on 03 May 2017, 06:08 AM

Hi,

My grid vertical align text not set properly.

Please help, thanks.

 

<telerik:RadGrid ID="grid" runat="server" AutoGenerateColumns="False" 
        CellSpacing="0"  GridLines="None" Width="600px"
    OnItemDataBound="grid_OnItemDataBound" 
    OnItemCommand="grid_OnItemCommand" >
        <MasterTableView NoMasterRecordsText="Kayıt bulunamadı" ItemStyle-VerticalAlign="Middle" >
            <ItemStyle BackColor="#C6E2FF" Font-Size="Medium" VerticalAlign="Middle" Height="40" />
            <AlternatingItemStyle BackColor="White" Font-Size="Medium" VerticalAlign="Middle" />
            <columns>
                <telerik:GridButtonColumn UniqueName="KatPlani" HeaderText="Kat Planı" HeaderStyle-Width="30" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Visible="True" CommandName="Detay" ButtonType="ImageButton" ImageUrl="images/harita_32.png" ItemStyle-VerticalAlign="Middle">
                </telerik:GridButtonColumn>

                <telerik:GridButtonColumn UniqueName="Goruntule" HeaderText="Görüntüle" HeaderStyle-Width="30" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Visible="True" CommandName="Detay" ButtonType="ImageButton" ImageUrl="images/photo_32.png" ItemStyle-VerticalAlign="Middle">
                </telerik:GridButtonColumn>
            
                <telerik:GridButtonColumn UniqueName="Guncelle" HeaderText="Güncelle" HeaderStyle-Width="10" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Visible="True" CommandName="Guncelle" ButtonType="ImageButton" ImageUrl="images/guncelle_32.png" ItemStyle-VerticalAlign="Middle" >
                </telerik:GridButtonColumn>
                
                <telerik:GridBoundColumn 
                    UniqueName="SATIRID" 
                    HeaderText="SATIRID"
                    DataField="SATIRID" 
                    HeaderStyle-Width="50" 
                    HeaderStyle-HorizontalAlign="Center" 
                    ItemStyle-HorizontalAlign="Center" 
                    ShowFilterIcon="False" 
                    Visible="True" 
                    Display="False">
                </telerik:GridBoundColumn>
                
                <telerik:GridBoundColumn 
                    UniqueName="BINAADI" 
                    HeaderText="Bina Adı"
                    DataField="BINAADI" 
                    HeaderStyle-Width="200" 
                    HeaderStyle-HorizontalAlign="Left" 
                    ItemStyle-HorizontalAlign="Left" 
                    ShowFilterIcon="False" 
                    Visible="True" 
                    >
                </telerik:GridBoundColumn>
                
                <telerik:GridBoundColumn 
                    UniqueName="KATADI" 
                    HeaderText="Kat Adı"
                    DataField="KATADI" 
                    HeaderStyle-Width="150" 
                    HeaderStyle-HorizontalAlign="Left" 
                    ItemStyle-HorizontalAlign="Left" 
                    ShowFilterIcon="False" 
                    Visible="True" 
                    >
                </telerik:GridBoundColumn>
            </columns>
        </MasterTableView>
<MasterTableView >
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>

<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>

<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>

<FilterMenu EnableImageSprites="False"></FilterMenu>
        <ClientSettings>
        <Selecting AllowRowSelect="true"></Selecting>
</ClientSettings>
    </telerik:RadGrid>

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Kemal
Top achievements
Rank 1
Share this question
or