Telerik Forums RSShttp://www.telerik.com/urn:uuid:9f8edd30-8de3-4f58-a13a-0d2bc6418bechttp://www.telerik.com/forums/permalink/MN2On-ONWE-hOg0rxkGL7ACan I Disable Carousel Items From RotatingHi Hector,<br />
<br />
Thank you for the clarification.<br />
<br />
The observed rotation can be controlled by the <strong>ItemClickDefaultAction </strong>property. Simply set it to <em>None</em>, so the control will not select the clicked item:
<div class="tFormatCodeBlock supportThreadCodeBlock" style="border:1px solid #7f9db9;overflow-y: auto;" id="highlighter_25930">
<div style="background-color: #ffffff;"><span style="margin-left: 0px !important;"><code style="color: #000000;">radCarousel1.ItemClickDefaultAction = false</code></span></div>
</div>
<br />
I hope this helps. Let me know if you have any other questions.<br />
<br />
Regards,<br />
Stefan <br />
the Telerik team
<div class="forumBaloonTop"></div>
<div class="forumBaloon">
<p style="margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in;">
<strong>Thank you for being the most amazing .NET community! </strong>Your unfailing support is what helps us charge forward!
We'd appreciate your <a title="Vote for Telerik" href="http://svy.mk/okjeDx">vote for Telerik</a> in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! <strong><a title="Vote for Telerik" href="http://svy.mk/okjeDx">VOTE for Telerik NOW &gt;&gt;</a></strong></p>
</div>
<div class="forumBaloonBottom"></div>urn:uuid:3bde562c-cd60-44fb-85e7-575f0d1bf9cchttp://www.telerik.com/forums/permalink/LFbeO2DN-0SF51dfDRv5zACan I Disable Carousel Items From RotatingI tried setting EnableAutoLoop to False (in VB.NET) in the Form's Load event handler. It had no effect. FYI, EnableAutoLoop was already set to False when the form first loaded. I didn't have to set it, although I did anyway, as such (using&nbsp;VB.NET):<br />
<br />
<div class="tFormatCodeBlock supportThreadCodeBlock" id="highlighter_18360" style="overflow-y: auto;border: #7f9db9 1px solid;">
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">Me.RadCarousel1.EnableAutoLoop = False </code></span></div>
</div>
<br />
... all to no effect.<br />
<br />
Perhaps if I add a little more detail, maybe it will help you to suggest an alternate solution. I have what I'll call the main form. It has the carousel control on it. When I click on one of the Items (a RadImageButtonElement) on it, the .Click event handler is raised for that item. The event handler opens a form using the typical WinForms formName.Show() method:<br />
<br />
<div class="tFormatCodeBlock supportThreadCodeBlock" id="highlighter_43129" style="overflow-y: auto;border: #7f9db9 1px solid;">
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">Private Sub RadImageButtonElement1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdItemDesigner.Click </code></span></div>
<div style="background-color: #f8f8f8;"><span><code>&nbsp;&nbsp;</code><span style="margin-left: 6px !important;"><code style="color: #000;">Me.Cursor = Cursors.WaitCursor </code></span></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;&nbsp;</code><span style="margin-left: 6px !important;"><code style="color: #000;">frmItemMain.Show() </code></span></span></div>
<div style="background-color: #f8f8f8;"><span><code>&nbsp;&nbsp;</code><span style="margin-left: 6px !important;"><code style="color: #000;">Me.Cursor = Cursors.Default </code></span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">End Sub </code></span></div>
</div>
&nbsp;<br />
In the form that opens (in my case, frmItemMain) I do some work, and then eventually close it, returning me to the main form. At that point the items on the carousel rotate or have already rotated.<br />
<br />
Note, I have Telerik WinForms Controls version 2011.1.11.419.<br />
<br />
UPDATE: OK, here's what I'm seeing... Apparently, the first time I close the child form, it rotates. After that, the items don't rotate, as long as I keep selecting the same item. If I select a different item, the child form opens, i do some work, close it, the items rotate. Then as long as I keep selecting that item, the items won't rotate.<br />urn:uuid:efec5b20-5903-41ac-b339-b1b8478491f3http://www.telerik.com/forums/permalink/IFvs7wNZrEGzObG4R4SR8wCan I Disable Carousel Items From RotatingHi Hector,<br />
<br />
Thank you for writing.<br />
<br />
Items looping is controlled by the <strong>EnableAutoLoop </strong>property. Simply set it to <em>false </em>and they will&nbsp;stop looping. More information regarding <strong>RadCarousel </strong>properties can be found in this <a href="http://www.telerik.com/help/winforms/carousel-overview.html" target="_blank">help article</a>.<br />
<br />
I hope that the provided information addresses your question. Should you have any other questions, do not hesitate to contact us.<br />
&nbsp;<br />
Regards,<br />
Stefan <br />
the Telerik team
<div class="forumBaloonTop"></div>
<div class="forumBaloon">
<p class="MsoNormal" style="line-height: normal; margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in;"><span style="font-family: arial, sans-serif; font-size: 7pt; color: #333333;">Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. </span><a href="http://www.telerik.com/account/your-products/trial-product-versions/download-trial-file.aspx?pid=763"><span style="text-decoration: none; font-family: arial, sans-serif; font-size: 7pt; color: #3366cc;">Get now &gt;&gt;</span></a><span style="font-family: arial, sans-serif; font-size: 7pt; color: #333333;"><o:p></o:p></span></p>
</div>
<div class="forumBaloonBottom"></div>urn:uuid:cb5b745b-01fd-45d1-8014-d1fff7998fdfhttp://www.telerik.com/forums/permalink/W3Rby_0B0UWAFNH_95mP3wCan I Disable Carousel Items From RotatingHow can I stop the items in the carousel from rotating?<br />
<br />
I tried setting AnimationsToApply to None, but then all my items appeared stacked on top of each other. I also tried setting EnableLooping to False, and that seemed to do the trick. After selecting an Item I'd display a form, when the user closed the form, the carousel was no longer rotating (or looping), however, one slight issue occurred-- two of the items appeared stacked on top of each other.<br />
<br />
I want the items to appear in a carousel-like circle, but I just don't want them to rotate, because some of my users are finding it annoying.<br />
<br />