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

Various issue in Red TimeBar control and Need suggestion from telerik support and experts

8 Answers 56 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Bhavik
Top achievements
Rank 1
Bhavik asked on 08 Sep 2015, 01:45 PM
Our application is in WPF and we are using RED Timebar control for playing video.
We are facing some issue with that.

1) When we change mouse wheel we are changing time in that, as we need that event as we like to bind some other control on that. So can we know how to generate mouse wheel event?

2) As in our application we can bind multiple video control, we also have to add multiple time in same REDTimebarLine in REDTimebar control, so is there any possibility for that?

3) In the selected range of REDTimebar, we need one cursor bar that give actual time while video is running and that cursor will change inbetween selected Range only and we also need its click and drag and drop event too.

attached image provide the idea what we need using timebar control.

8 Answers, 1 is accepted

Sort by
0
Bhavik
Top achievements
Rank 1
answered on 08 Sep 2015, 01:59 PM
example of multiple timebar control in attached image.
0
Petar Marchev
Telerik team
answered on 11 Sep 2015, 11:06 AM
Hello Ajay,

We are a little confused and could not understand all of your requirements. First, we think that you are not using a REDTimebar, because our control's name is RadTimebar (Rad is abbreviation for Rapid Application Development). Can you verify that this is the name of the control?

1) I did not comprehend this question fully, but I assume that you need to control the zooming from code behind. Is this right? You should not try to generate mouse wheel events, you can simply update the properties of the timebar - VisiblePeriodStart and VisiblePeriodEnd.

2) I am unsure what you want to say with "have to add multiple time". Do you mean some annotation? We need more information in order to answer this.

3) This is not supported with out-of-the-box means, the timebar does not have such a cursor bar. I think that the easiest way to go here is to simply create your own visual and place it on top of the timebar. Then you can position in in absolute coordinates in regards to where you want to display it. You can easily implement the drag/drop functionality you require. You can check this timebar-chart example which demonstrates how to find the position of the timebar content.

Once you find the position and size of the content, it should be relatively easy to calculate the position of the cursor bar, because you have the VisiblePeriodStart, VisiblePeriodEnd of the timebar and the time at which you need the cursor bar displayed.

Regards,
Petar Marchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Bhavik
Top achievements
Rank 1
answered on 14 Sep 2015, 05:55 AM

Hello Petar,

Thanks for reply.

Sorry its spelling mistake, yes we are using RadTimeBar in our application.

1) We need to do that, while change mouse wheel change we have to set another control so we can set other controls according to attached image.

2) As attached image we have to set multiple bar in same RadTimeBar control to play multiple video in same control.

3) Description what we require is also explained in attached image..

Thanks.

0
Martin Ivanov
Telerik team
answered on 16 Sep 2015, 04:03 PM
Hi Ajay,

Thank you for the additional information. We will contact you as soon as we have more information on the matter.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Bhavik
Top achievements
Rank 1
answered on 17 Sep 2015, 06:52 AM
Hi,

Please let me know if you need any more information from our side. Is it possible to share the time period/date when we should expect any response/solution from your side?
0
Petar Marchev
Telerik team
answered on 17 Sep 2015, 11:50 AM
Hello Ajay,

1. You can use the VisiblePeriodChanged event of the timebar. It is raised whenever the visible period changes and you can execute any custom code you need.

2. From this requirement it seems that you would benefit from the RadTimeline control much more than the timebar. This is because the timeline allows for items to be inserted based on an items source, while the timebar includes only one single child element (Content) and you need to create everything inside it and position it on your own.
timline qsf
sdk smaples
online documentation

3. I already answered to this question with my previous post. Let us know if you have some specific questions.

Regards,
Petar Marchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Bhavik
Top achievements
Rank 1
answered on 21 Sep 2015, 01:45 PM

Hi,

Thanks for your reply.

For 2nd point : I have download timeline sample from the provided link. but I am getting the build error. I have attached screen , please kindly response what should I do to resolve it.

0
Petar Marchev
Telerik team
answered on 23 Sep 2015, 10:42 AM
Hi Bhavik,

I am unsure what could be the cause of this error. In the link that I provided the Formatters property is implemented. Make sure that you are using the latest version of our controls and try cleaning, rebuilding the project.

Regards,
Petar Marchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
TimeBar
Asked by
Bhavik
Top achievements
Rank 1
Answers by
Bhavik
Top achievements
Rank 1
Petar Marchev
Telerik team
Martin Ivanov
Telerik team
Share this question
or