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

9 posts, 0 answers
  1. Bhavik
    Bhavik avatar
    5 posts
    Member since:
    Nov 2008

    Posted 08 Sep 2015 Link to this post

    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.
  2. Bhavik
    Bhavik avatar
    5 posts
    Member since:
    Nov 2008

    Posted 08 Sep 2015 in reply to Bhavik Link to this post

    example of multiple timebar control in attached image.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 11 Sep 2015 Link to this post

    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
  5. Bhavik
    Bhavik avatar
    5 posts
    Member since:
    Nov 2008

    Posted 14 Sep 2015 Link to this post

    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.

  6. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 16 Sep 2015 Link to this post

    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
  7. Bhavik
    Bhavik avatar
    5 posts
    Member since:
    Nov 2008

    Posted 17 Sep 2015 in reply to Martin Link to this post

    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?
  8. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 17 Sep 2015 Link to this post

    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
  9. Bhavik
    Bhavik avatar
    5 posts
    Member since:
    Nov 2008

    Posted 21 Sep 2015 in reply to Petar Marchev Link to this post

    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.

  10. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 23 Sep 2015 Link to this post

    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
Back to Top
UI for WPF is Visual Studio 2017 Ready