CellValueChanged not firing

7 posts, 0 answers
  1. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 14 Jul 2009 Link to this post

    Hello,

    The CellValueChanged event never seems to fire in the GridView.

    I have an event handler on this event, but it never seems to be picked up

    Richard
  2. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 14 Jul 2009 Link to this post

    Hi Richard Slade,

    Thank you for contacting us. CellValueChanged event is triggered when the user enters a specified value in the cell. Please, note that this typically occurs when a cell loses focus. This implies that the CellValueChanged event will be triggered if the user has changed the value of the cell and has left the cell, changing the focus to another control.

    I guess that instead of CellValueChanged, you need an event that triggers whenever the value of the cell is modified. In this case you should handle ValueChanging event. For more information, please refer to this article.

    I hope this is helpful. If you have further issues, do not hesitate to contact me back.

     

    Regards,
    Boryana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 15 Jul 2009 Link to this post

    Ok, thanks Boryana,
    Slightly confusing naming convention, but I'll give that a go. Thanks for the reply.
    Richard
  5. JigneshGN
    JigneshGN avatar
    10 posts
    Member since:
    May 2009

    Posted 17 Jan 2010 Link to this post

    Thanks Boryana,

  6. MP
    MP avatar
    22 posts
    Member since:
    May 2009

    Posted 15 Oct 2010 Link to this post

    Dear Telerik,

    What is the difference between ValueChanged and CellValueChanged events?

    Regards,
    MP
  7. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 15 Oct 2010 Link to this post

    Hello MP,

    Basically, the ValueChanged event is raised after each cell value change, even if that change is not yet applied to the grid.
    The CellValueChanged event is fired just when the value of a cell has been changed.

    Please take a look at this help article related to the Data Editing Event Sequence.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga
  8. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 15 Oct 2010 Link to this post

    Hello MP,

    Thank you for this question. The ValueChanged event is fires when the active editor changes its value. The CellValueChanged event instead fires after closing the editor and persisting the value in the data layer. There is one exception, the ValueChanged event fires when there is no active editor and the cell value is changed programmaticaly. Find more information regarding editor related events in our online help

    Should you have any further questions, please do not hesitate to ask.

    Sincerely yours, Jack
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for WinForms is Visual Studio 2017 Ready