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

Gray Skin

7 Answers 128 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Dave Myers
Top achievements
Rank 1
Dave Myers asked on 11 Sep 2008, 08:20 PM
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"

7 Answers, 1 is accepted

Sort by
0
-DJ-
Top achievements
Rank 1
answered on 12 Sep 2008, 10:43 AM
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-
0
Dave Myers
Top achievements
Rank 1
answered on 12 Sep 2008, 01:43 PM
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....
0
Dave Myers
Top achievements
Rank 1
answered on 13 Sep 2008, 04:11 AM
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.
0
Sophy
Telerik team
answered on 15 Sep 2008, 10:36 AM
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.
0
Dave Myers
Top achievements
Rank 1
answered on 16 Sep 2008, 02:43 PM
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).


0
Dave Myers
Top achievements
Rank 1
answered on 16 Sep 2008, 03:06 PM
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.


0
Martin
Telerik team
answered on 17 Sep 2008, 01:16 PM
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.
Tags
Dock
Asked by
Dave Myers
Top achievements
Rank 1
Answers by
-DJ-
Top achievements
Rank 1
Dave Myers
Top achievements
Rank 1
Sophy
Telerik team
Martin
Telerik team
Share this question
or