Skin Manager does not work

8 posts, 0 answers
  1. Jon_BCV
    Jon_BCV avatar
    16 posts
    Member since:
    Mar 2012

    Posted 04 May 2013 Link to this post

    Hi..
    I added the following to my master page  (same code from your samples). But it doesn't work.. the screen flashes and but doesn't change. I have a ref to Telerik.Web.Ui.Skins... what am i doing wrong or missing?   thx again!!


                    <div class="skin-chooser">
                        <label for="ctl00_SkinChooser_Input" class="skinLabel">Skin:</label>
                        
                         <telerik:RadSkinManager runat="server" ID="RadSkinManager1" Skin="Sunset" ShowChooser="true"
                            PersistenceKey="Skin" PersistenceMode="Session" OnPreRender="RadSkinManager1_PreRender"/>
                                     
                    </div>


    and

       protected void RadSkinManager1_PreRender(object sender, EventArgs e)
            {
                RadComboBox skinChooser = RadSkinManager1.FindControl("SkinChooser") as RadComboBox;
                foreach (RadComboBoxItem item in skinChooser.Items)
                {
                    if (item.Text == "Silk" || item.Text == "Glow" || item.Text == "BlackMetroTouch" || item.Text == "MetroTouch")
                    {
                        item.Visible = false;
                    }
                }
            }





  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 08 May 2013 Link to this post

    Hello Jon,

    I tried to replicate the problematic behavior locally using your code but to no avail. Find attached a sample runnable application which works properly on my end and verify what the difference in your case is.

    Kind regards,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jon_BCV
    Jon_BCV avatar
    16 posts
    Member since:
    Mar 2012

    Posted 08 May 2013 Link to this post

    I have to open a support case.
    I can't get it to work with a Master Page and the .Net 4.5  dlls.
    Seems to work in 3.5
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 10 May 2013 Link to this post

    Hello Jon,

    Opening a support ticket and provide runnable version of your application which demonstrates the problem will be very helpful for easily isolate the root cause of the issue.
    As soon as we have the needed resources we will do our local research and will advise you further.

    Greetings,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Jon_BCV
    Jon_BCV avatar
    16 posts
    Member since:
    Mar 2012

    Posted 10 May 2013 Link to this post

    I was able to get to work.
    Thanks for your help!!
  7. David
    David avatar
    38 posts
    Member since:
    May 2013

    Posted 17 Jun 2013 Link to this post

    hi.

    could you explain how you got it to work, please?
    I, too, seem to be having a problem. I have Framework 4.5 and master page.

    I can choose different skins when clicking the '>' icon at the top right of the DataPager control, but it doesn't actually change it when i run my project.
  8. Jon_BCV
    Jon_BCV avatar
    16 posts
    Member since:
    Mar 2012

    Posted 17 Jun 2013 Link to this post

    No exactly sure.
    I cleaned my solution and re-referenced the DLLs.
  9. David
    David avatar
    38 posts
    Member since:
    May 2013

    Posted 17 Jun 2013 Link to this post

    not exactly sure what i did either, but its now working for me!
    i originally added all the TelerikSkins to my project because they weren't there (DataPager.css, ColorPicker.css etc) but it didn't make any difference.
    I then closed down Visual Studios 2012, reopened it, and it worked. My RadDataPager now shows correctly with the Skin Styling i have chosen.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017