CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Language: C#

ASPxGridView Alert On Insert

622 Views
Copy Code Show/Hide Line Numbers
   1:  public partial class _Default : System.Web.UI.Page
   2:  {
   3:      private bool mInserted = false;
   4:   
   5:      protected void Page_Load(object sender, EventArgs e) {
   6:          mInserted = false;
   7:      }
   8:      protected void ASPxGridView1_CustomJSProperties(object sender, ASPxGridViewClientJSPropertiesEventArgs e) {
   9:          e.Properties["cpIsInserted"] = mInserted.ToString();
  10:      }
  11:      protected void ASPxGridView1_RowInserted(object sender, DevExpress.Web.Data.ASPxDataInsertedEventArgs e)
  12:      {
  13:          mInserted = true;
  14:      }
  15:  }
by Mehul Harry
  January 08, 2010 @ 4:08pm
Tags:
Description:
Display client side alert after inserting.

Add a comment


Report Abuse
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate