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

Skin defaults to Default Skin regardless..

9 Answers 110 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 01 Aug 2008, 07:41 PM
Hi..
I have a radwindow with the skin set to Web20...

when I run the following server side code it defaults to the Default skin

Any ideas?   If I set the visibleonload is shows the correct skin...

thanks


this.RadAjaxManager.ResponseScripts.Add(@"Sys.Application.add_load(function()

{radalert('Constituent Information Entered!', 250, 100);})"

);

9 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 04 Aug 2008, 01:30 PM
Hello Jon,

radalert uses the RadWindowManager - if RadWindowManager uses the default skin, radalert will use it as well.


Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 04 Aug 2008, 01:46 PM
Hi..
Yes... the RadWindow skin is set to Web20 but it uses Default in this case.
If I set visibleonload the Radwindow uses Web20... wierd!
thanks
0
Georgi Tunev
Telerik team
answered on 04 Aug 2008, 03:00 PM
Hi Jon,

I am sorry if I was not clear enough in my previous reply - you must set the skin property to the RadWindowManager as well - that is how you will skin the radalert dialog as well. As I said in my previous reply, radalert (radconfirm and radprompt as well) are functions of the RadWindowManager, not the RadWindow. If you want to skin them, you have to make the needed changes to the manager, not to the window in it.

e.g:

<form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server"
    </asp:ScriptManager> 
    <telerik:RadWindowManager Skin="Web20" ID="RadWindowManager1" runat="server"
        <Windows> 
            <telerik:RadWindow ID="RadWindow1" runat="server" Skin="Web20" VisibleOnPageLoad="true"
            </telerik:RadWindow> 
        </Windows> 
    </telerik:RadWindowManager> 
    <button onclick="radalert('test'); return false;"
        open radalert</button> 
</form> 


Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 04 Aug 2008, 03:29 PM
Hi..
When I select the properties for WindowManager.. the SKIN prop is grayed out.. All the others are enabled ????????????
When I select the smart tag - I get error loading panel could not load file or assembly --- I only get this on the RadWindowManager.
Any ideas thanks!!
0
Georgi Tunev
Telerik team
answered on 05 Aug 2008, 11:43 AM
Hello again Jon,

What are the versions of the control and the Visual Studio that you are using? Do you experience any problems when adding manually the skin property in the HTML?


Sincerely yours,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 05 Aug 2008, 11:47 AM
vs2008

2008.1.619.35

I sometimes get ' The located assembly manifest does not match....'

thanks again
0
Georgi Tunev
Telerik team
answered on 06 Aug 2008, 01:35 PM
Hi Jon,

I am still not able to reproduce the design-time problem with VS2008. Can you send me your project or a sample one where this behavior can be observed? Just open a new support ticket and send the project as attachment.



All the best,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 06 Aug 2008, 01:42 PM
Hi..
I was able to get it work by adding to the page_load

this.RadWindowManager.Skin = "Web20";

???

thanks for your help!

0
Georgi Tunev
Telerik team
answered on 06 Aug 2008, 02:03 PM
Hello again Jon,

Yes, the control is working fine and obviously the problem is with the VS2008's design-time. It is good to know that you have solved your problem and if you send me the project, I will investigate why is this happening in Visual Studio.


Sincerely yours,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Jon
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Jon
Top achievements
Rank 1
Share this question
or