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

Manipulating the RadSkinManager via JS

1 Answer 43 Views
Documentation and Tutorials
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 10 Mar 2015, 04:34 PM
I have this issue where I am trying to change properties of the radskinmanager with javascript code but have failed to do so. I can't seem to figure out the code to grab that item.

The RadSkinManager is under the .master page on the asp project I don't know if that can be an issue, or if there is a special code to grab items from the .master page. The javascript is on a separate .js file

    anu.loadSkin = function () {
        alert("Im here");
    };
    window.onload = anu.loadSkin;

I can get it to alert on window onload but inside the method I want to change properties for the rad skin manager. Thanks!!

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 13 Mar 2015, 11:32 AM
Hello,

I am sorry to say but you can not change the RadSkinManager properties using JavaScript. The skin manager is not an IScriptControl and does not have a client object associated to it. If you want to apply some changes to the manager you should do this on the server.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Documentation and Tutorials
Asked by
Andrey
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or