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

Something isn't right

5 Answers 83 Views
Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Sean Brown
Top achievements
Rank 1
Sean Brown asked on 30 Apr 2010, 05:16 PM
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.

5 Answers, 1 is accepted

Sort by
0
elacroix
Top achievements
Rank 1
answered on 03 May 2010, 01:43 PM
Same issue here but we are using Q1 2009 version.

Cheers.
0
Sean Brown
Top achievements
Rank 1
answered on 04 May 2010, 03:45 PM
Does this forum get moderated my Telerik support?  Or since VSB is in beta there is no support?
0
BaiH
Top achievements
Rank 1
answered on 05 May 2010, 07:51 AM
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
0
Eric Klein
Top achievements
Rank 1
answered on 11 May 2010, 06:58 PM
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.
0
BaiH
Top achievements
Rank 1
answered on 12 May 2010, 07:17 AM
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
Tags
Visual Style Builder
Asked by
Sean Brown
Top achievements
Rank 1
Answers by
elacroix
Top achievements
Rank 1
Sean Brown
Top achievements
Rank 1
BaiH
Top achievements
Rank 1
Eric Klein
Top achievements
Rank 1
Share this question
or