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

Styles on the radUpload control

1 Answer 75 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 13 Nov 2008, 03:18 PM
Ok, I am starting to move forward a bit on the styling of the radupload but I need some help.

First, here's what I have done.  After much trial and tribulation, I have found the MenuResources.xaml post and am using that to apply a theme to my radupload.  The problem is I have no idea what to put in the Setter.

Right now I have just the code below in the MenuResources.xaml file".  The problem is I do not have any definition as the the styles the radupload control takes so it is trial and error.  You can see the last entry is CornerRadius which just makes the infinity loop just spin and spin when I try to view the control in a browser and the control never appears.  I would like to know all the properties I can set and if possible get an example of code with all the properties.  In the normal viewing of the control the file text is white on a light gray background so you can hardly see it so I want to change that. 

Any help would be appreciated.

 

 

<

ResourceDictionary

 

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

 

xmlns

:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"

 

 

 

 

xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"

 

 

 

 

xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input">

 

 

 

 

<Style TargetType="Controls:RadUpload">

 

 

 

 

<Setter Property="Background" Value="LightBlue"/>

 

 

 

 

<Setter Property="FontFamily" Value="Arial"/>

 

 

 

 

<Setter Property="FontSize" Value="11"/>

 

 

 

 

<Setter Property="FontStyle" Value="Normal"/>

 

 

 

 

<Setter Property="Foreground" Value="Black"/>

 

 

 

 

<Setter Property="CornerRadius" Value="10"/>

 

 

 

 

</Style>

 

</

ResourceDictionary>

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 18 Nov 2008, 07:40 PM
Hi Richard,

Please take a look at this forum thread for more info styling the Upload (and actually any other Telerik control);
http://www.telerik.com/community/forums/silverlight/general-discussions/themes-examples-documentation.aspx

Please let us know if you have any issues with the styling the upload.

All the best,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Upload
Asked by
Richard
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or