﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - prompt</title><link>http://www.intersoftsolutions.com/Community/Tags/prompt/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Delete prompt issue on Serverside</title><link>http://www.intersoftsolutions.com/Community/Tags/prompt/</link><pubDate>Mon, 20 Sep 2010 22:54:53 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebGrid</category><category>delete</category><category>prompt</category><category>DeleteRow</category><description>&lt;p&gt;I can delete one row,but When I delete multi_Rows by "Delete Selection"(see the picture below),&lt;strong&gt;popup infor&lt;/strong&gt;:"Please wait while webgrid is inprocessing requesting...".&lt;/p&gt;
&lt;p&gt;I can delete multi_Rows  on cilentSide to avoid the &lt;strong&gt;popup infor,but&lt;/strong&gt; I want to know&lt;br /&gt;&lt;strong&gt;how to to avoid the popup infor when I delete multi_Rows&amp;nbsp;on Serverside&amp;nbsp;????&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please help me,thanks!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: #c00000"&gt;jsCode:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;  function Unprocess() {&lt;br /&gt;            var grid = ISGetObject("WebGrid1");&lt;br /&gt;            grid.XmlHttp.Asynchronous = false;  //any way,it seems that it does not run on serverside!      &lt;br /&gt;        } &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #c00000"&gt;C#Code:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;pre&gt;    protected void WebGrid1_DeleteRow(object sender, RowEventArgs e)
    {
        DataSet ds = (DataSet)WebGrid1.DataSource;
        da.DeleteCommand = builder.GetDeleteCommand();
        WebGrid1.ClientAction.InvokeScript("Unprocess();");
        ((DataRowView)e.Row.DataRow).Row.Delete();
        WebGrid1.ClientAction.InvokeScript("Unprocess();");
        da.Update(ds);
        e.ReturnValue = false;
        WebGrid1.ClientAction.Refresh();
    }&lt;/pre&gt;</description></item></channel></rss>