RadGrid Skin not displaying

7 posts, 0 answers
  1. Kevin F
    Kevin F avatar
    46 posts
    Member since:
    Sep 2009

    Posted 24 Oct 2013 Link to this post

    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.
  2. Kevin F
    Kevin F avatar
    46 posts
    Member since:
    Sep 2009

    Posted 24 Oct 2013 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kevin F
    Kevin F avatar
    46 posts
    Member since:
    Sep 2009

    Posted 24 Oct 2013 Link to this post

    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


  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 29 Oct 2013 Link to this post

    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.
  6. Tina
    Tina avatar
    31 posts
    Member since:
    Sep 2007

    Posted 29 Oct 2013 Link to this post

    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.
  7. Tina
    Tina avatar
    31 posts
    Member since:
    Sep 2007

    Posted 29 Oct 2013 Link to this post

    I'll download the build and see if that fixes the issues I'm having.
  8. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 01 Nov 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017