Hi,
I am using Ultragrid (Infragistics NetAdvantage 2006 Volume 1 CLR 2.0) in winforms .net 2.0 and I want to customize the message prompt that ultra grid shows by default while confirming the deletion of rows action with the user. For example - by default the message prompt says -
"You have selected 1 row for deletion.
Choose Yes to delete the row or No to exit."
so is there any way I can make it to say -
"are you sure you want to delete ?"
instead of
"Choose Yes to delete the row or No to exit."
Thanks,
Mandeep
Hi Mandeep,
What you can do is handle the BeforeRowsDeleted event. The event args allow you to cancel the default message box and you can then dislpay your own message and set e.Cancel to true if the user wants to cancel.