Ganttview Progress

3 posts, 0 answers
  1. Eljey
    Eljey avatar
    2 posts
    Member since:
    Oct 2015

    Posted 11 Oct 2015 Link to this post

    I want to disable the user to set progress of the item less than the progress I inputted.
    Is there something like progressChangedEvent? Please help me.
  2. Eljey
    Eljey avatar
    2 posts
    Member since:
    Oct 2015

    Posted 11 Oct 2015 in reply to Eljey Link to this post

    By the way. I'm using C# Winforms
  3. DevCraft banner
  4. Hristo Merdjanov
    Hristo Merdjanov avatar
    679 posts

    Posted 12 Oct 2015 Link to this post

    Hi Eljey,

    Thank you for writing.

    You can subscribe your RadGanttView object to the ItemChanged changed event. In the handler you can perform a check and if the value being changed is less than your minimum value display a message e.g.:
    int min = 20;
    private void CustomRadGanttView_ItemChanged(object sender, GanttViewItemChangedEventArgs e)
        if (e.PropertyName == "Progress" && e.Item.Progress < min) {
            RadMessageBox.Show("Invalid Progress");
            e.Item.Progress = min;

    Additionally you can also modify the context menu, please refer to the following article for details:

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Hristo Merdjanov
    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