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

Having trouble with Skins

6 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Guy
Top achievements
Rank 1
Guy asked on 25 Sep 2009, 01:56 PM
I have just upgraded to the new release, I was on 2008 Q3 before.  I have a control that uses a radToolBar and the skins just don't seem to fit properly anymore whereas I wasn't having any difficulty at all before.

The Control:
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="TopNavigation.ascx.vb" 
    Inherits="ReDA2Portal.WebUserControl1" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<telerik:RadToolBar ID="rtbTopNavigation" runat="server" 
    Width="960px" Skin="WebBlue"></telerik:RadToolBar> 
#Region "Functions and Subs" 
 
    Sub getSections() 
        Dim dt As DataTable = ReDA2Classes.baseClass.GetDataTable("SELECT * FROM tblsection ORDER BY SectionOrder", ConnStr.ConnectionString.ToString) 
        Dim r As DataRow 
 
        For Each r In dt.Rows 
 
            Dim b As New Telerik.Web.UI.RadToolBarButton(r("SectionName")) 
            b.NavigateUrl = "~/" & r("URL"
            b.Visible = r("IsVisible"
            rtbTopNavigation.Items.Add(b) 
 
        Next 
    End Sub 
#End Region 
 
 
    Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Load 
        If Not Me.IsPostBack Then 
            getSections() 
        End If 
    End Sub 

It is being placed in a div on a page:
            <div class="divHeader"
                <div class="divHeaderWrap"
                    <uc1:TopNavigation ID="TopNavigation1" runat="server" /> 
                </div> 
            </div> 
.divHeader 
{  
    width: 100%     
 
.divHeaderWrap 
    width960px
    marginauto 

And this is what it is showing:
http://img233.imageshack.us/img233/1473/69304635.jpg

I also have some raddocks and the skins for them don't seem to be displaying properly either.  They look weird in IE7 and are just flat colurs in firefox.  I am pretty certain that both problems are caused by the same issue but I can't find anything at the moment.  They were all working perfectly well on the last version I had which was 2008.3.1125.35 the version I am on now is 2009.2.826.35





6 Answers, 1 is accepted

Sort by
0
Roland
Top achievements
Rank 1
answered on 25 Sep 2009, 02:20 PM
Hello,

The skins have been changed a little since 2008 release.

You experience this on the same computer and browser , you should make sure to clear the browse cache or press CTRL+F5 to refresh the stylesheets.

Roland
0
Guy
Top achievements
Rank 1
answered on 25 Sep 2009, 03:27 PM
Hi Roland,

I found the cause of the problem with the toolbar, it had some conflicts with my CSS, I have corrected that now but I am still having some issues with the radDocks.  They don't seem to be picking up the texture in firefox and they don't really look the same as the example in IE7 either:

FF:
http://img143.imageshack.us/img143/7793/37431655.jpg

IE:
http://img84.imageshack.us/img84/5164/34863968.jpg

I have commented out my CSS file and the skins still don't pick up the textures for the radDocks so I am pretty sure it isn't a CSS problem this time?

(I also tried ctrl + F5)

0
Roland
Top achievements
Rank 1
answered on 25 Sep 2009, 03:30 PM
How did you upgrade the project ?

Did you use the menu Telerik -> Upgrade project option ?

Is everything in web.config ok ?
0
Guy
Top achievements
Rank 1
answered on 25 Sep 2009, 03:47 PM
I did use the Update wizard and everything seems to be fine with the web.config also the skins work fin on another page I have just not for the radDocks:

<?xml version="1.0"?> 
<configuration> 
    <configSections> 
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" /> 
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
                </sectionGroup> 
            </sectionGroup> 
        </sectionGroup> 
    </configSections> 
    <appSettings> 
        <add key="xxxx" value="packet size=4096;Server=xxxx;Database=xxxx;uid=xxxx;password=xxxx" /> 
        <add key="xxxx2" value="packet size=4096;Server=xxxx;Database=xxxx;uid=xxxx;password=xxxx" /> 
    </appSettings> 
    <connectionStrings /> 
    <system.web> 
        <!--  
            Set compilation debug="true" to insert debugging  
            symbols into the compiled page. Because this  
            affects performance, set this value to true only  
            during development. 
 
            Visual Basic options: 
            Set strict="true" to disallow all data type conversions  
            where data loss can occur.  
            Set explicit="true" to force declaration of all variables. 
        --> 
        <!--  
            Set compilation debug="true" to insert debugging  
            symbols into the compiled page. Because this  
            affects performance, set this value to true only  
            during development. 
        --><compilation debug="true" strict="false" explicit="true"
            <assemblies> 
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
                <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> 
                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
                <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> 
            </assemblies> 
        </compilation> 
        <pages> 
            <namespaces> 
                <clear /> 
                <add namespace="System" /> 
                <add namespace="System.Collections" /> 
                <add namespace="System.Collections.Generic" /> 
                <add namespace="System.Collections.Specialized" /> 
                <add namespace="System.Configuration" /> 
                <add namespace="System.Text" /> 
                <add namespace="System.Text.RegularExpressions" /> 
                <add namespace="System.Linq" /> 
                <add namespace="System.Xml.Linq" /> 
                <add namespace="System.Web" /> 
                <add namespace="System.Web.Caching" /> 
                <add namespace="System.Web.SessionState" /> 
                <add namespace="System.Web.Security" /> 
                <add namespace="System.Web.Profile" /> 
                <add namespace="System.Web.UI" /> 
                <add namespace="System.Web.UI.WebControls" /> 
                <add namespace="System.Web.UI.WebControls.WebParts" /> 
                <add namespace="System.Web.UI.HtmlControls" /> 
            </namespaces> 
            <controls> 
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
            <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" /> 
            </controls> 
        </pages> 
        <!-- 
            The <authentication> section enables configuration  
            of the security authentication mode used by  
            ASP.NET to identify an incoming user.  
        --> 
        <!-- 
            The <authentication> section enables configuration  
            of the security authentication mode used by  
            ASP.NET to identify an incoming user.  
        --><authentication mode="Windows" /> 
        <!-- 
            The <customErrors> section enables configuration  
            of what to do if/when an unhandled error occurs  
            during the execution of a request. Specifically,  
            it enables developers to configure html error pages  
            to be displayed in place of a error stack trace. 
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"
            <error statusCode="403" redirect="NoAccess.htm" /> 
            <error statusCode="404" redirect="FileNotFound.htm" /> 
        </customErrors> 
        --> 
        <!-- 
            The <customErrors> section enables configuration  
            of what to do if/when an unhandled error occurs  
            during the execution of a request. Specifically,  
            it enables developers to configure html error pages  
            to be displayed in place of a error stack trace. 
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"
            <error statusCode="403" redirect="NoAccess.htm" /> 
            <error statusCode="404" redirect="FileNotFound.htm" /> 
        </customErrors> 
        --><httpHandlers
            <remove verb="*" path="*.asmx" /> 
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> 
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
            <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /> 
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> 
            <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> 
            <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> 
        </httpHandlers> 
        <httpModules> 
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        </httpModules> 
    </system.web> 
    <system.codedom> 
        <compilers> 
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                <providerOption name="CompilerVersion" value="v3.5" /> 
                <providerOption name="OptionInfer" value="true" /> 
                <providerOption name="WarnAsError" value="false" /> 
            </compiler> 
        </compilers> 
    </system.codedom> 
    <!--  
        The system.webServer section is required for running ASP.NET AJAX under Internet 
        Information Services 7.0.  It is not necessary for previous version of IIS. 
    --> 
    <system.webServer> 
        <validation validateIntegratedModeConfiguration="false" /> 
        <modules> 
            <remove name="ScriptModule" /> 
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        </modules> 
        <handlers> 
            <remove name="WebServiceHandlerFactory-Integrated" /> 
            <remove name="ScriptHandlerFactory" /> 
            <remove name="ScriptHandlerFactoryAppServices" /> 
            <remove name="ScriptResource" /> 
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
            <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
            <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
            <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
            <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
            <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
        </handlers> 
    </system.webServer> 
    <runtime> 
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
            <dependentAssembly> 
                <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" /> 
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> 
            </dependentAssembly> 
            <dependentAssembly> 
                <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" /> 
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> 
            </dependentAssembly> 
        </assemblyBinding> 
    </runtime> 
</configuration> 
 

0
Roland
Top achievements
Rank 1
answered on 25 Sep 2009, 03:55 PM
hmm thats interesting.

There is couple of things to check.

1. Make sure your CSS does not interfere.
2. Make sure you only have one reference to the newest Telerik assembly
3. Close VS and dev server. Clear C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files directory and try again.
0
Guy
Top achievements
Rank 1
answered on 28 Sep 2009, 08:35 AM
I actually removed my CSS file so it definitely isn't a CSS.  My reference is correct and there are no others to the old dll.

I just deleted the temp internet files but that made no difference either.  I will just leave it for now, it doesn't look too bad in firefox will have to come back to it later.
Tags
General Discussions
Asked by
Guy
Top achievements
Rank 1
Answers by
Roland
Top achievements
Rank 1
Guy
Top achievements
Rank 1
Share this question
or