Is there a way to disable the dialog box when the user deletes a row from the grid? Other than just cancelling it in the BeforeRowsDeleted event? If not, adding a property to the Grid to enable\disable this, (and any other dialogs) would be nice.
In fact, I think being able to enable\disable any dialogs that automatically get called in any control (except those that are designed specifically as dialogs) should be a standard feature of IG controls.
No, you have to use the event. The event handler is more flexible and allows you to change the message or only show it under certain circumstances - which a property could not do.
I can see that it would be convenient to have a property to turn off the message always, though. You should Submit a feature request to Infragistics
Hello Mike,
You said that the message of the dialog can be changed. How can I change the message in the XamDatagrid1_RecordsDeleting event? I'm interesting on translate the message to another language different than english, but I haven't found any appropiate property. Shouldn't It be shown in the language set to my application?
Thank you very much.
Oscar.
Oscar,
I recommend that you post this question in the XamDataGrid forum, instead of here in the WinGrid forum. I'd have split this post into its own thread on that forum myself, except that I would have needed to edit your post to give enough context for your question to make sense.