Validation while celledit

3 posts, 1 answers
  1. Nirmal
    Nirmal avatar
    14 posts
    Member since:
    Dec 2008

    Posted 26 Mar 2010 Link to this post

         i am using radgridview. While editing the cell details i am using



    In that,


    void radGridView_CellValidating (object sender, Telerik.Windows.Controls.GridViewCellValidatingEventArgs e)




    e.IsValid =




    e.ErrorMessage =


    "Invalid Data(Some Message)";
    It shows the error message when mouse over on the right top corner of tht red indication. But i need when focusing on that cell or immediate when error occurs(doesn't need tooltipservice). How can i do this?

    Thanks in Advance.



  2. Answer
    Nedyalko Nikolov
    Nedyalko Nikolov avatar
    871 posts

    Posted 01 Apr 2010 Link to this post

    Hi Nirmal,

    Unfortunately with the current version of RadGridView control, this scenario is not supported. We plan to improve it and this will be the default behavior, but I cannot commit with any specific date or release when this feature will be ready. Meanwhile you can use data layer validation instead of UI validation in order to meet your goals. For more information you can take a look at this blog post.

    Best wishes,
    Nedyalko Nikolov
    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.
  3. DevCraft R3 2016 release webinar banner
  4. Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 22 Sep 2011 Link to this post

    I'm also facing the same problem. The link you provided is no longer working.
    However error message is showing immediately when default validation is turned on but
    if i give my own cell validations its not working.

    Can please look into this issue again and let me know.

    private void radLifeStyleDefault_CellValidating(object sender, GridViewCellValidatingEventArgs e)
                if (e.Cell.Column.UniqueName == "ContactType")
                    if (e.NewValue.ToString() != "Call")
                        e.IsValid = false;
                        e.ErrorMessage = "Enter Proper Call Attempt";
                        e.IsValid = true;

Back to Top