Manipulating the RadSkinManager via JS

2 posts, 0 answers
  1. Andrey
    Andrey avatar
    5 posts
    Member since:
    Mar 2015

    Posted 10 Mar 2015 Link to this post

    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!!
  2. Angel Petrov
    Admin
    Angel Petrov avatar
    1006 posts

    Posted 13 Mar 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top