How to add an image to the task.

4 posts, 0 answers
  1. Rob
    Rob avatar
    5 posts
    Member since:
    Dec 2014

    Posted 29 Sep Link to this post

    Hi,

    Please can you advise me on how to add an image to a task bar?

    The idea is that each task may have some notes associated with it. These notes will provide instructions to the user on how to perform the task.

    If the task does have notes associated with it, I would like to show an icon in the task bar The user will click the icon and a dialog containing notes will appear.

    There is a sample that does have images in the RadGannt, however, the source is not complete. The RadGant mark-up makes reference to two GanntCustomFields called "Color" and "Manager".

    Hopefully this is a simple requirement.

    I have attached a mock-up that illustrates my requirement.

    Kind regards

    Rob

  2. Rob
    Rob avatar
    5 posts
    Member since:
    Dec 2014

    Posted 03 Oct in reply to Rob Link to this post

    Here is an update. From the sample application, I can get an icon on the task bar. I have wired a client side click-event to the image. When I click the image, I need to get the task ID, so can display the notes for that task.

    Thanks,

    Rob

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rob
    Rob avatar
    5 posts
    Member since:
    Dec 2014

    Posted 03 Oct in reply to Rob Link to this post

    It's okay, I have sorted it. On an image, I can wire a client-side event that gives an alert of the task ID when clicked.

    See attached.

    Thanks for your help.

    Rob

  5. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 04 Oct Link to this post

    Hello Rob,

    We are glad you found the solution and thank you for posting it.

    In the Client Templates demo you linked the task's background and images are connected to two custom task fields: Color and Manager respectively. The following article contains more information on how custom task fields can be added.

    Regards,
    Ivan Danchev
    Telerik by Progress
Back to Top