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;
}
}
}
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;
}
}
}
7 Answers, 1 is accepted
0
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
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.
0
Jon_BCV
Top achievements
Rank 1
answered on 08 May 2013, 09:21 PM
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
I can't get it to work with a Master Page and the .Net 4.5 dlls.
Seems to work in 3.5
0
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
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.
0
Jon_BCV
Top achievements
Rank 1
answered on 10 May 2013, 11:42 AM
I was able to get to work.
Thanks for your help!!
Thanks for your help!!
0
David
Top achievements
Rank 1
answered on 17 Jun 2013, 10:08 AM
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.
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.
0
Jon_BCV
Top achievements
Rank 1
answered on 17 Jun 2013, 11:18 AM
No exactly sure.
I cleaned my solution and re-referenced the DLLs.
I cleaned my solution and re-referenced the DLLs.
0
David
Top achievements
Rank 1
answered on 17 Jun 2013, 11:32 AM
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.
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.