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

Background full transparently?

5 Answers 101 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 28 Dec 2008, 12:11 AM
HI @all,

i use a Win Form with a Backgroundimage - so if i add a new radCarousel control to my form and set up the backgroundimage to "transparent" - i see always a a Gradient over this control. I use the Style Builder and add a new XML - but i dont find a proberty to turn off this functionality?
Have someone a solutions for me?
--> done :-) but... i think there is a small problem with the  theme manager. Sometime it works - somtime not. So - i try to find out the basicly problem and post it here.

and my seceond question: can i use my own buttonĀ“s to rotate my radCarousel?
--> done :-) i use the selected Index function. Thanks

thanks @all
Markus

PS: RadControls Q1

5 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 29 Dec 2008, 03:01 PM
Hi Markus,

Thank you for writing.
We're glad that you managed to find a solution on your own! We will also appreciate your feedback on Visual Style Builder.

Sincerely yours,
Victor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Marios
Top achievements
Rank 1
answered on 29 Sep 2009, 05:55 PM
Hi all!

Can you please tell me how did you set the background to full transparency?

Marios
0
Victor
Telerik team
answered on 02 Oct 2009, 02:45 PM
Hello Marios,

Please take a look at the code examples for RadCarousel in our Demo application. Write again if you have other questions.

Sincerely yours,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Marios
Top achievements
Rank 1
answered on 18 Oct 2009, 03:59 PM
Hallo again.

I'm sorry but i haven't found anything to make background full transparent.
Can you please tell me which of your examples has a carousel with full transparency in background so i can check it?

Marios
0
Victor
Telerik team
answered on 20 Oct 2009, 08:41 AM
Hello Marios,

First you need to set RadCarousel BackColor property to transparent. Then in order to set the gradient to a solid style you need to do this:
((Telerik.WinControls.Primitives.FillPrimitive)(this.radCarousel1.GetChildAt(0).GetChildAt(0))).GradientStyle = Telerik.WinControls.GradientStyles.Solid;

Basically you are setting the FillPrimitive which is responsible for painting the background in a solid color instead of gradient. Please write again if you have other questions.

Regards,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Carousel
Asked by
Pierre
Top achievements
Rank 1
Answers by
Victor
Telerik team
Marios
Top achievements
Rank 1
Share this question
or