This is a migrated thread and some comments may be shown as answers.

Grid / PopUp Edit Form Validation? Keep Window Visible....

1 Answer 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jared
Top achievements
Rank 1
Jared asked on 20 Oct 2010, 12:05 PM
The PopUp Edit Form window disappears when I try to insert or edit my information even with validation controls in the form. What's the best way to keep the PopUp Edit Form window visible until the information entered is valid? 


I tried this but the window still closed.
            if (e.Exception != null)
            {
                e.ExceptionHandled = true;
                SetMessage("Product cannot be inserted. Reason: " + e.Exception.Message);
            }
            else
            {
                SetMessage("New product is inserted!");
            }



Thx

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Oct 2010, 02:03 PM
Hello,


Have you tried setting property value as "e.KeepInEditMode = true;" as shown in the demo?


-Shinu.
Tags
Grid
Asked by
Jared
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or