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

RadColorPicker Skin/Theme Wanted

6 Answers 79 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Muhammad Khalid
Top achievements
Rank 1
Muhammad Khalid asked on 15 Jul 2008, 12:14 PM
Hi

Dears,
                I have to need a skin of colorpicker , please provide me the Different skins,Skin is not showing with ajax technique, And tell what this problem ,where
i am missing something .

nad please tell how i can  attach image or code file with this message.

Thankx and regards 
Muhammad Khalid Latif   
 

6 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 15 Jul 2008, 01:22 PM
Hello Muhammad,

I am not quite sure that I completely understand your explanation. In case you want to use the built-in RadColorPicker's skins, you can do this by setting their Skin property as shown here.

Another option is to create your custom skin and configure the RadColorPicker to use it as explained here.
You can also find information about using Themes here.

As to your other question, in order to be able to upload files, you should open a support ticket and attach your code/screenshots there.


Regards,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Grendizer
Top achievements
Rank 1
answered on 15 Sep 2008, 04:02 PM
Hello Svetlina,

The provided information about using Themes does not seems to work, as it breaks on compilation issue like, when I'm trying to include built-in skins in ASP.Net theme

Compilation Error   
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.   
 
Compiler Error Message: BC30002: Type 'Telerik.Web.UI.RadSlider' is not defined.  
 
Source Error:  
 
   
 
Line 44:         Private Shared __BuildControl__control2_skinKey As Object = System.Web.UI.PageTheme.CreateSkinKey(GetType(System.Web.UI.WebControls.Button), "")  
Line 45:           
Line 46:         Private Shared __BuildControl__control3_skinKey As Object = System.Web.UI.PageTheme.CreateSkinKey(GetType(Telerik.Web.UI.RadSlider), "")  
Line 47:           
Line 48:         <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _  
   
 
Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\1672c730\5ddcabb9\App_Theme_Telerik.xrsle2_t.0.vb    Line: 46  

Could you provide us any working sample on that ?!

Thanks in advance for your support.
0
Svetlina Anati
Telerik team
answered on 18 Sep 2008, 09:58 AM
Hi Grendizer,

The provided information is not enough to determine what is the exact reason for the problem. I prepared a sample demo project which uses a Theme to set built-in skins to the RadColorPicker and RadSlider controls - you can find it in the attached archive.

In case this does not help, please open a new support ticket and provide a sample demo along with a detailed explanation of the desired result.


Regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Grendizer
Top achievements
Rank 1
answered on 18 Sep 2008, 10:33 AM
Hello Svetlina,

first of all thanks for your answer, and the provider sample.

I realize that your sample works like a charm and mine doesn't because of the name of the theme ... that's sad ... I named my theme "Telerik".

Using another name make the deal, so I will be able to pursue my theming/skin process ... on your side if you want to reproduce the issue I encountered, you can easily rename the theme in your sample, and you'll face the issue directly during compilation ... Hope this helps.

So your answer was fine for me, and I'll consider the issue closed ... but if you manage to work on the name issue I'll be happy to hear from you back.

Thanks
0
Grendizer
Top achievements
Rank 1
answered on 18 Sep 2008, 10:40 AM
I clicked on the Reply button too quickly :)

Small one for you still ... is this normal that now by using a theme/skin for let's say in my case all textbox using the following

<telerik:RadTextBox runat="server" Skin="WebBlue"  Width="230px"/> 

I'm not able to set another size on my controls. Setting a textbox using the following snippet :

<telerik:RadTextBox ID="RadTextNameEAM" runat="server" Width="211px" EnableViewState="false"/> 

will not make it 211px width but still 230 as from the skin.


The only way I have is to specify another skin using a SkinID ... like
<telerik:RadTextBox runat="server" SkinID="w211" Skin="WebBlue" Width="211px"/> 


So is it normal that the Width parameter is ignored when theme/skin is in enabled.

Thanks in advance for your answer.
0
Missing User
answered on 23 Sep 2008, 08:02 AM
Hello Grendizer,



If the Width property is defined in both the control and the theme - the control property from the theme override any page property on the control. This strategy enables the theme to create a consistent look across pages, even if controls on the pages already have individual property settings.


Kind regards,
Plamen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ColorPicker
Asked by
Muhammad Khalid
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Grendizer
Top achievements
Rank 1
Missing User
Share this question
or