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

Buggy/partial display with custom skin

2 Answers 58 Views
Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Seb
Top achievements
Rank 1
Seb asked on 12 Oct 2010, 10:44 AM
Hi,

This week I test free trial Telerik ASP.NET Q2 2010 on visual studio 2008.
I have to create a custom skin, that is very important for my business. With embedded skin all is ok but when I tried to use custom skin from visual style builder, problems begins. In this thread I joined in attachment the result on firefox (same on IE) and my custom skin is based on forest original skin with no modification.

Big green place in the display is rad editor!

Thanks to look at my code.


My aspx page ;

<%@ Page Language="C#" AutoEventWireup="true" Theme="MySkin" CodeBehind="Default.aspx.cs"  Inherits="Mailing._Default" ValidateRequest="False"  MaintainScrollPositionOnPostback="true"%>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Mailing OneTec</title>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
</head>

<body >
<div id="divGeneral" >

    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
    <telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="All"</telerik:RadFormDecorator>

 
    
    
    <div id="divContent" >
            <h1>Mailing OneTec</h1>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------


My config file;

<appSettings>
    <add key="SmtpServeur" value="10.10.74.1" />
    <add key="Telerik.EnableEmbeddedSkins" value="false" />
    <add key="Telerik.EnableEmbeddedBaseStylesheet" value="false" />
    <add key="Telerik.Skin" value="MySkin" />

  </appSettings>

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 12 Oct 2010, 12:45 PM
Hi Taymans,

The problem is caused by the fact that you have disabled the embedded base stylesheets.

<add key="Telerik.EnableEmbeddedBaseStylesheet" value="false" />

http://www.telerik.com/help/aspnet-ajax/howskinswork.html

If you prefer to use non-embedded base stylesheets, you must register them manually, because they are required in all cases. You can modify them if you need, but you cannot omit them completely.

All the best,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jyolsna
Top achievements
Rank 1
answered on 22 Sep 2011, 10:24 AM

Hi,

Even I am facing the same issue while customizing skin with Q2 2011 trial version. I am using forest as base skin and copied Forest folder from installation folder to themes folder. Then I changed web.config setting to

 

<add key="Telerik.EnableEmbeddedSkins" value="false" />

<add key="Telerik.Skin" value="Forest" />

My form contains only grid and button. It seems the button style is not getting applied.

Thanks in advance.

Regards,
Jyolsna

Tags
Visual Style Builder
Asked by
Seb
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Jyolsna
Top achievements
Rank 1
Share this question
or