Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
955
How to not to let the data error messagebox show automatically?
posted

Dear All:

          there is a column which ColumnStyle is DropDownValidate  in the ultraWinGrid , and this column is binded a ultradropdown.

Now I want to help  as below:

1、 let this column Only accept from the  ultradropdown.

2、if this column is not from the ultradropdown, don't let the system messagebox show out automatically, and if the data is not in the ultradropdown, can't let the user move out from this column.

 

Thanks in advanced 

Tramp

 

 

Parents
No Data
Reply
  • 37774
    Verified Answer
    posted

    Tramp,

    I'm not entirely sure what you are trying to do here.  If you want to completely limit the user's selection to the column, then I would suggest that you use the DropDownList style on the column instead of the validate.  If I recall correctly, the Validate portion of the style will prevent the user from exiting edit mode if the item isn't in the list, which you could also do by handling the BeforeExitEditMode event yourself.

    -Matt

Children