Something isn't right

6 posts, 0 answers
  1. Sean Brown
    Sean Brown avatar
    3 posts
    Member since:
    Apr 2010

    Posted 30 Apr 2010 Link to this post

    I am trying to figure out why my Windows7 style looks the way it does.  I used VSB to create a new style and selected Windows7.  I did not change anything.  I saved the .zip and imported into my project.

    Here is my ASPX.
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" 
        Theme="Texon" %> 
     
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml">  
     
     
    <head runat="server">  
        <title></title>  
    </head> 
    <body> 
        <form id="form1" runat="server">  
        <div> 
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
            </telerik:RadScriptManager> 
            <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" DataSourceID="SqlDataSource1" 
                GridLines="None" AllowFilteringByColumn="True" AllowSorting="True"   
                ShowGroupPanel="True">  
                <MasterTableView AutoGenerateColumns="False" DataKeyNames="ip_id" DataSourceID="SqlDataSource1">  
                    <RowIndicatorColumn> 
                        <HeaderStyle Width="20px"></HeaderStyle> 
                    </RowIndicatorColumn> 
                    <ExpandCollapseColumn> 
                        <HeaderStyle Width="20px"></HeaderStyle> 
                    </ExpandCollapseColumn> 
                    <Columns> 
                        <telerik:GridBoundColumn DataField="ip_id" DataType="System.Int32" HeaderText="ip_id" 
                            ReadOnly="True" SortExpression="ip_id" UniqueName="ip_id">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="ip_addr" HeaderText="ip_addr" SortExpression="ip_addr" 
                            UniqueName="ip_addr">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="ip_first_seen" DataType="System.DateTime" HeaderText="ip_first_seen" 
                            SortExpression="ip_first_seen" UniqueName="ip_first_seen">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="ip_last_seen" DataType="System.DateTime" HeaderText="ip_last_seen" 
                            SortExpression="ip_last_seen" UniqueName="ip_last_seen">  
                        </telerik:GridBoundColumn> 
                    </Columns> 
                </MasterTableView> 
                <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True">  
                    <Selecting AllowRowSelect="True" /> 
                </ClientSettings> 
            </telerik:RadGrid> 
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NetworkMonitorConnectionString %>" 
                SelectCommand="SELECT * FROM [tbl_ip_addresses]"></asp:SqlDataSource> 
        </div> 
        </form> 
    </body> 
    </html> 
     

    Here is my web.config
    <appSettings> 
        <add key="Telerik.Skin" value="Texon"/>  
        <add key="Telerik.EnableEmbeddedSkins" value="False"/>  
      </appSettings> 

    I have also attached what mine looks like compared to what the embedded skin look like once it is rendered.  I am using Q3 2009 controls.

    Any guidance is appreciated.
  2. elacroix
    elacroix avatar
    1 posts
    Member since:
    Jan 2007

    Posted 03 May 2010 Link to this post

    Same issue here but we are using Q1 2009 version.

    Cheers.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sean Brown
    Sean Brown avatar
    3 posts
    Member since:
    Apr 2010

    Posted 04 May 2010 Link to this post

    Does this forum get moderated my Telerik support?  Or since VSB is in beta there is no support?
  5. BaiH
    BaiH avatar
    83 posts
    Member since:
    Aug 2008

    Posted 05 May 2010 Link to this post

    Guys,
    As I'm aware of, there is a base stylesheet introduced  for the grid control with Q1 2010, so I don't think that the generated by VSB skins will work for older versions. You can still manually modify the skins which are included in your version's download package. Or, better, upgrade to the latest and greatest version as I have done.

    --BH
  6. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 11 May 2010 Link to this post

    Ok so are you saying if you are ussing an older version of RadGrid or any of the controls that if I go to visual style builder and create a new skin it wont work. Just wondering because I was trying to create a new skin and it does not work.
  7. BaiH
    BaiH avatar
    83 posts
    Member since:
    Aug 2008

    Posted 12 May 2010 Link to this post

    I think that it depends, generally it does work for most of the old versions. However as the controls are evolving, their skins are changing so it is expected the generated by VSB skin to not be fully compatible with some older versions of the control(s) but to be up to date with the latest. I usually "fix" this by manually tweaking the generated skin to make it compatible. As in the case with the RadGrid's base stylesheet, you can just copy the newer grid's base stylesheet content into the generated skin css file (don't forget to add it to the top of the file).

    --BH
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017