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

RadGrid Skin not displaying

6 Answers 137 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin F
Top achievements
Rank 1
Kevin F asked on 24 Oct 2013, 04:51 PM
This grid (which should use Windows7 skin) isn't displaying correctly after upgrading to the latest RadAjax tools.  I've attached what it looks like now (gridnosking.png) and what it used to look like (gridskin.png)
<telerik:RadGrid ID="grdAliases" runat="server" DataSourceID="daAliases" AutoGenerateColumns="False" CellSpacing="0" AutoGenerateEditColumn="True"
    AutoGenerateDeleteColumn="True" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" Skin="Windows7" GridLines="None">
    <MasterTableView DataKeyNames="Id" DataSourceID="daAliases" CommandItemDisplay="Top" NoDetailRecordsText="No aliases for this offender." NoMasterRecordsText="No aliases for this offender.">
        <EditFormSettings>
            <EditColumn ButtonType="PushButton"></EditColumn>
        </EditFormSettings>
        <CommandItemSettings AddNewRecordText="Add Alias" ExportToPdfText="Export to PDF" ShowRefreshButton="False"></CommandItemSettings>
        <Columns>
            <telerik:GridBoundColumn DataField="Id" ReadOnly="True" HeaderText="Id" SortExpression="Id" UniqueName="Id" DataType="System.Int32" Display="False">
                <ColumnValidationSettings>
                    <ModelErrorMessage Text=""></ModelErrorMessage>
                </ColumnValidationSettings>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="OffenderId" HeaderText="OffenderId" ReadOnly="true" SortExpression="OffenderId" UniqueName="OffenderId" DataType="System.Int32" Display="False">
                <ColumnValidationSettings>
                    <ModelErrorMessage Text=""></ModelErrorMessage>
                </ColumnValidationSettings>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Name" HeaderText="Name (Last, First, Middle)" SortExpression="Name" UniqueName="Name">
                <ColumnValidationSettings>
                    <ModelErrorMessage Text=""></ModelErrorMessage>
                </ColumnValidationSettings>
            </telerik:GridBoundColumn>
            <telerik:GridTemplateColumn DataField="Ssn" HeaderText="SSN" UniqueName="colSsn" >
                <ItemTemplate>
                    <asp:Label ID="lblSsn" runat="server" Text='<%# SorBll.Util.FormatSsn(Eval("Ssn")) %>'></asp:Label>
                </ItemTemplate>
                <InsertItemTemplate>
                    <telerik:RadMaskedTextBox ID="txtSsn" runat="server" Mask="###-##-####" Text='<%# Bind("Ssn") %>'></telerik:RadMaskedTextBox>
                </InsertItemTemplate>
                <EditItemTemplate>
                    <telerik:RadMaskedTextBox ID="txtSsn" runat="server" Mask="###-##-####" Text='<%# Bind("Ssn") %>'></telerik:RadMaskedTextBox>
                </EditItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn DataField="Dob" HeaderText="DOB" UniqueName="colDob" >
                <ItemTemplate>
                    <asp:Label ID="lblDob" runat="server" Text='<%# SorBll.Util.FormatNullableDate(Eval("Dob")) %>'></asp:Label>
                </ItemTemplate>
                <InsertItemTemplate>
                    <telerik:RadDatePicker ID="txtDob" runat="server" MinDate="1/1/1900" DbSelectedDate='<%# Bind("Dob") %>'></telerik:RadDatePicker>
                </InsertItemTemplate>
                <EditItemTemplate>
                    <telerik:RadDatePicker ID="txtDob" runat="server" MinDate="1/1/1900" DbSelectedDate='<%# Bind("Dob") %>'></telerik:RadDatePicker>
                </EditItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn DataField="Timestamp" HeaderText="Timestamp" ReadOnly="true" SortExpression="Timestamp" UniqueName="Timestamp" DataType="System.DateTime" Display="False">
                <ColumnValidationSettings>
                    <ModelErrorMessage Text=""></ModelErrorMessage>
                </ColumnValidationSettings>
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

Any ideas?

Thanks!

Kevin

Update: I have some other grids within a set of RadTabs which are displaying fine until I try to add a new record.  Then the skin format goes away.

6 Answers, 1 is accepted

Sort by
0
Kevin F
Top achievements
Rank 1
answered on 24 Oct 2013, 07:31 PM
This has something to do with IIS 8.5 on Windows 8.1.  I'm trying to track it down.

Anybody else had issues on Win 8.1?

Kevin
0
Kevin F
Top achievements
Rank 1
answered on 24 Oct 2013, 08:07 PM
Ok I guess this is an issue with VS 2012 and VS 2013.  I opened the application in 2012 and built it, and things are displaying correctly.  

Open and build in 2013, grids display erratically.  It appears the solution is here:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/telerik-asp-net-ajax-with-visual-studio-2013-preview-vs2013.aspx


0
Maria Ilieva
Telerik team
answered on 29 Oct 2013, 01:43 PM
Hi Kevin,

The Latest Internal Build is already available for download. You could test if the included fix works in your case and let us know if any other issues appear.

Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Tina
Top achievements
Rank 2
answered on 29 Oct 2013, 03:31 PM
I am having the same type of issues.  One thing I found is if you have the CommandItemdisplay set it will mess up the skin.  But after I found that, something has broken the skin again.  I've sent a support ticket but haven't gotten a response yet.
0
Tina
Top achievements
Rank 2
answered on 29 Oct 2013, 03:35 PM
I'll download the build and see if that fixes the issues I'm having.
0
Maria Ilieva
Telerik team
answered on 01 Nov 2013, 09:22 AM
Hi Tina,

Could you please let me know if you have managed to test the latest internal build on your end and if the issue was fixed?
If the issue still exists please do let us know, so that we could further research on the problem.


Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Kevin F
Top achievements
Rank 1
Answers by
Kevin F
Top achievements
Rank 1
Maria Ilieva
Telerik team
Tina
Top achievements
Rank 2
Share this question
or