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

Focus First Item by default in Rad Carousel

8 Answers 138 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Mohamed
Top achievements
Rank 1
Mohamed asked on 19 Mar 2012, 11:18 AM
I have added data item to rad carousel and I just wanted get the zeroth position to be focused by below format

Curent                 --    5    4    3    2    1                     

I want like this         --  3    2    1

Thanks in advance.

Arafath

8 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 19 Mar 2012, 12:25 PM
Hi Arafath,

You could use the BringDataItemIntoView method of the RadCarousel once it has been loaded.

radCarousel.BringDataItemIntoView(radCarousel.Items[4]);

That way the fifth item will be shown as the selected item of the carousel. 

Regards,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Mohamed
Top achievements
Rank 1
answered on 20 Mar 2012, 06:57 AM
Hi ,

I tried this one but its not working for me still the same appearance continues ....

can you guide me if i need to add any property in xaml code or need to give "radCarousel.BringDataItemIntoView(radCarousel.Items[4]) " anywhere exactly in code behind file...

Thanks
Arafath


0
Mohamed
Top achievements
Rank 1
answered on 20 Mar 2012, 07:21 AM
Hi,

can you give me sample code for the rad carousel first  item focusing  to understand the thing properly.

That would be fine for me to understand the things in very clear format.
0
Mohamed
Top achievements
Rank 1
answered on 21 Mar 2012, 01:53 PM
Hi Maya,

Could you pls post the sample app for rad carousel focus first item by default .....

I tried the code snippet "radCarousel.BringDataItemIntoView(radCarousel.Items[4]); "

but its not working for me sooo pls post me some sample app to understand it ...


Regards,
Arafath
0
Dimitrina
Telerik team
answered on 21 Mar 2012, 02:06 PM
Hi Arafath,

 Have you checked this forum thread for an example?

All the best,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Mohamed
Top achievements
Rank 1
answered on 22 Mar 2012, 01:00 PM
Hi,
Thanks a lot and its working fine for me.....:)

Regards,
Arafath
0
Mohamed
Top achievements
Rank 1
answered on 23 Mar 2012, 12:13 PM
Hi how can i reduce the empty white  space between the carousel item and the carousel panel ...
please find the attached screenshot for ur reference ....

Please answer this query as guick as possible...

Regards,
Arafath

0
Vanya Pavlova
Telerik team
answered on 28 Mar 2012, 11:40 AM
Hi Mohamed,

 

Have you tried to decrease the Width of RadCarousel? 



Kind regards,
Vanya Pavlova
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Carousel
Asked by
Mohamed
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Mohamed
Top achievements
Rank 1
Vanya Pavlova
Telerik team
Share this question
or