Hiiiii
Hey, I want to delete selected multiple rows at run time without shown Delete Confimation Message.
May be u know when we delete one single row in UltraGrid then open one Confirmation box like "Are u sure u want to delete".
Now my problems is i m deleted multiple rows at runtime in For loop. In this case at very first ot asked to me about confirmation message, so that my for loop is terminated that why i m not deleted multiple rows at a time,
Is it Possible.. ? Or is it any propertie for unable to Delete Confirmation Message, ?
- Hiren Lad
Hi,
Yes, it is possible. For example you can do this with the code below:
public Form1() { InitializeComponent(); //Get the event BeforeRowsDeleted ultraGrid1.BeforeRowsDeleted += new Infragistics.Win.UltraWinGrid.BeforeRowsDeletedEventHandler (ultraGrid1_BeforeRowsDeleted); } void ultraGrid1_BeforeRowsDeleted(object sender, Infragistics.Win.UltraWinGrid.BeforeRowsDeletedEventArgs e) { e.DisplayPromptMsg = false; }
void ultraGrid1_BeforeRowsDeleted(object sender, Infragistics.Win.UltraWinGrid.BeforeRowsDeletedEventArgs e) { e.DisplayPromptMsg = false; }