klionsigns.blogg.se

Errorprovider control
Errorprovider control




errorprovider control errorprovider control

I did also try to create two UltraTextEdit controls out of the RowEditTemplate, on the same form, bound to the same object like the controls on the Template. The AutoValidate on the form is set to EnableAllowFocusChange. The ErrorProvider correctly shows the required message but Name control cannot loose focus. The problem is that when the user deletes the name on the RowEditTemplate and tries to nagigate away from the control, it cannot loose focus.

#Errorprovider control update#

I would like to update the row cells only when the user clicks ok button by copying the cloned object's properties to the initial object properties. When the RowEditTemplate appears i clone the row's underlying object and bind the controls of the RowEditTemplate with the cloned object.

errorprovider control

I also have an ErrorProvider control on the form. I have replaced the auto generated proxy fields in the RowEditTemplate with my own UltraTextEdit fields which i bind with my underlying object. It contains two fields, a Name and Description for a data bound object. When the user clicks the edit button the RowEditTemplate appears. I am using an UltraWinGrid with a RowEditTemplate in a form.






Errorprovider control