﻿<?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 - WebGrid Enterprise - how to get operate information by OnAfterResponseProcess function (Client)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-get-operate-information-by-OnAfterResponseProcess-function-Client/</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>how to get operate information by OnAfterResponseProcess function (Client)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-get-operate-information-by-OnAfterResponseProcess-function-Client/</link><pubDate>Sun, 13 Mar 2011 23:13:31 GMT</pubDate><dc:creator>rogerchen.tangshuo@gmail.com</dc:creator><category>OnAfterResponseProcess</category><description>&lt;p&gt;i found way to get the information by InitializePostBack event using InvokeScript functon to execite client javascript code, thanks!&lt;/p&gt;</description></item><item><title>how to get operate information by OnAfterResponseProcess function (Client)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-get-operate-information-by-OnAfterResponseProcess-function-Client/</link><pubDate>Tue, 22 Feb 2011 22:05:15 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>OnAfterResponseProcess</category><description>&lt;p&gt;Hello Roger,&lt;/p&gt;&lt;p&gt;Can I know why do you need to get "12345" at OnAfterResponseProcess event? &lt;br /&gt;I think, It is a little weird that you set the value from InitializeDataSource event. Normally, this event is used to bind WebGrid. Perhaps, you can let us know more specific about your scenario.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>how to get operate information by OnAfterResponseProcess function (Client)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/how-to-get-operate-information-by-OnAfterResponseProcess-function-Client/</link><pubDate>Sat, 12 Feb 2011 00:38:03 GMT</pubDate><dc:creator>rogerchen.tangshuo@gmail.com</dc:creator><category>OnAfterResponseProcess</category><description>&lt;p&gt;i user grid_InitializeDataSource function to do something, &lt;/p&gt;&lt;pre&gt;string departmentId = Request.Form["hid_DepartmentId"];
            string performanceCheckId = Request.Form["hid_PerformanceCheckId"];
            string employeeNumber = Request.Form["hid_EmployeeNumber"];

            string performanceIds = Request.Form["hid_PerformanceIds"];
            string button_click = Request.Form["hid_button_click"];

            // 先处理数据
            if (!string.IsNullOrEmpty(button_click))
            {
                string strReturn = SaveIndividualDepartmentPerformance(button_click, String2ArrayList(performanceIds));
                hid_save_message.Value = "12345";
            }

            DataSet dst = new DataSet();

            Performance performance = new Performance();

            performance.FillPerformanceByDepartmentId(dst, departmentId, performanceCheckId, employeeNumber);

            e.DataSource = dst;&lt;/pre&gt;

&lt;p&gt;i want to get "12345" by OnAfterResponseProcess function in client, how can i do? OnAfterResponseProcess function like the this:&lt;/p&gt;&lt;pre&gt;        function wg_performance_OnAfterResponseProcess(controlId, actionName, lastRequestObject, xmlResponseObject) {
            if (document.all["hid_button_click"].value != '') {
                EnableControls();
                document.all["hid_button_click"].value = '';
                var statusLabel = document.getElementById("save_message");
                var v_hid_save_message = document.getElementById("hid_save_message");
                if (v_hid_save_message.value == '') {
                    statusLabel.innerHTML = '设定成功！';
                    statusLabel.className = 'clsSucceed';
                }
                else {
                    statusLabel.innerHTML = v_hid_save_message.value;
                    statusLabel.className = 'clsFailed';
                }
                v_hid_save_message.value = '';
            }
        }&lt;/pre&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>