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

RadGrid Template Column

1 Answer 663 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 10 Jan 2015, 12:41 AM
Hi,

I'm trying to create a grid with a template column - see below.    Please see attached print screen.  There is something that looks weird behind the button.  I don't know how to fix this.

        <telerik:RadGrid ID="grd" runat="server" AutoGenerateColumns="False">
            <ClientSettings>
                <Scrolling AllowScroll="true" ScrollHeight="300px" UseStaticHeaders="true" />  
            </ClientSettings> 
            <MasterTableView AutoGenerateColumns="False" TableLayout="Fixed" DataKeyNames="OrderId">
                <Columns  >
                    <telerik:GridTemplateColumn UniqueName="TemplateColumn">
                        <ItemTemplate >
                            <telerik:RadButton ID="id" runat="server" Text='<%# Eval("Id") %>'></telerik:RadButton>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>

Thanks for your help.
            </MasterTableView>
        </telerik:RadGrid>






1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 14 Jan 2015, 01:36 PM
Hello Sam,

Based on the provided screenshot I would suppose that you have some custom styles that are globally applied and this is causing the strange button appearance.
Can you please try to disable all the custom styles in the application and see how it goes.

Regards,
Maria Ilieva
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Sam
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or