Gray Skin

8 posts, 0 answers
  1. Dave Myers
    Dave Myers avatar
    47 posts
    Member since:
    Sep 2008

    Posted 11 Sep 2008 Link to this post

    Having trouble getting the skin "Gray" or "Telerik" to work.  It is appearing as all white.  Note, I installed the hotfix into my application by overwritting the dlls.  Any ideas?

    I tried in the .ascx and in the code file...SampleDock.Skin = "Gray"
  2. -DJ-
    -DJ- avatar
    263 posts
    Member since:
    Oct 2004

    Posted 12 Sep 2008 Link to this post

    Hi Dave,

    There was a post on the forums about the Gray skin not working just a few days ago. It turned out to be an outdated dll.

    When you say all white I assume that you mean the skin isn't applied to the dock at all. In that case, the logical assumption is that it's MIA from the dll. I haven't checked myself after SP1, but it worked perfectly before.

    As I'm not on my dev computer I can't try this myself, but you could try going back to the pre-SP1 version and see if the skin works then. If so, then it looks like it has been removed in the SP1 version...

    Regards,
    -DJ-
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dave Myers
    Dave Myers avatar
    47 posts
    Member since:
    Sep 2008

    Posted 12 Sep 2008 Link to this post

    I am using 2008.2.826.20.  The demo application (installed locally) uses the same dll and the skins work.  I noticed when you run the live examples it starts it's own web server.....i am using iis....
  5. Dave Myers
    Dave Myers avatar
    47 posts
    Member since:
    Sep 2008

    Posted 12 Sep 2008 Link to this post

    seriously....i would like some help figuring out why the gray or telerik skin will not work.  I believe I am using the most up to date dll.  It is odd that some of the other skins are displaying while some are not.
  6. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 15 Sep 2008 Link to this post

    Hi Dave,

    We are not able to reproduce the problem you mention in a simple test page setting the Gray skin to the RadDock. For your convenience I have attached our test page. Please, test it on your side and let us know whether you are reproducing the problem.
    My suggestion is to check whether any of the EnableEmbeddedSkins and the EnableEmbeddedBaseStyleSheet properties of the RadDock or the RadDockLayout if the dock is inside a layout is set to false. You could also make sure that you do not have any css styles on the page which override those of the RadDock. Do you reproduce the same problem if you choose a different skin from the Gray and the Telerik ones? Could you also test and let us know what is the result if you test your application in CASSINI? I suggest you also check whether any browser or IIS option is checked to disable css styles. In what browser do you observe the problem. Could you also test with any other browser and inform us about the result?
    If the above suggestions cannot help you resolve the problem, please, send us a simple running project which reproduces the problem on your side so that we can test it locally and research the issue. We will be glad to help you. Note that you will need to open a support ticket to have the right to attach files. Please, find attached a screenshot with instructions how to open a support thread.

    All the best,
    Sophy
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Dave Myers
    Dave Myers avatar
    47 posts
    Member since:
    Sep 2008

    Posted 16 Sep 2008 Link to this post

    I did some testing and below is my code from the ascx:
    <asp:UpdatePanel ID="GanttPanel" runat="server"
        <ContentTemplate> 
            <telerik:RadDock ID="GanttDoc" Runat="server"
                <ContentTemplate> 
                    <div class="Normal"
                        Show Active Only: <asp:CheckBox ID="ActiveOnlyChk" runat="server" /> 
                    </div> 
                    <telerik:RadChart ID="GanttChart" runat="server"></telerik:RadChart> 
                </ContentTemplate> 
            </telerik:RadDock> 
        </ContentTemplate> 
    </asp:UpdatePanel> 
    <telerik:RadDock ID="RadDock1" Runat="server" Skin="Gray" /> 
    Here is my initialization code:
    GanttDoc.Visible = False 
    GanttDoc.DockMode = Telerik.Web.UI.DockMode.Floating 
    GanttDoc.Resizable = True 
    GanttDoc.EnableDrag = True 
    GanttDoc.EnableEmbeddedSkins = True 
    GanttDoc.EnableEmbeddedBaseStylesheet = True 
    GanttDoc.Skin = "Gray" 
    GanttDoc.DefaultCommands = Telerik.Web.UI.Dock.DefaultCommands.ExpandCollapse 
    The first dock will not display the "Gray" skin while the second one will.  Perhaps I am using the control incorrectly (Still new to these controls).


  8. Dave Myers
    Dave Myers avatar
    47 posts
    Member since:
    Sep 2008

    Posted 16 Sep 2008 Link to this post

    OK....after some further testing, I have isolated what seems to cause the problem.

    GanttDoc.Resizable = True 

    When I comment out this code, the skin displays properly.  When it is uncommented, it does not.  I really need this to be re-sizable.


  9. Martin
    Admin
    Martin avatar
    585 posts

    Posted 17 Sep 2008 Link to this post

    Hello Dave,

    Thank you for the issues you have reported. They were related to a faulty CSS inheritance of classes, that is fixed already and will enter our next service pack. In the meantime, you may use the Gray and Telerik skins as external files (Set EnableEmbeddedSkins="false" and then register the respective css file in the <head> section of your webpage). Before testing the skin, make sure you remove the control name from the filenames of TitlebarH.gif both gif files.

    Please, find attached the two skins.

    All the best,
    Martin Ivanov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017