﻿<?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 - Webgrid 7 R2 combine client and server events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-combine-client-and-server-events/</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>Webgrid 7 R2 combine client and server events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-combine-client-and-server-events/</link><pubDate>Tue, 29 Dec 2009 04:38:46 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>WebGrid</category><category>client server events</category><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi Nicolas,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, it is possible. In order to do that, we need to call the java script from server side using invoke script. Here is the sample code that you &lt;/span&gt;&lt;span style="font-size: 9pt"&gt;need to add on your server side function,&amp;nbsp;&lt;pre&gt;    WebGrid1.ClientAction.InvokeScript("updateRow();");
&lt;/pre&gt;
&lt;p&gt;       I hope it helps and please, do not hesitate to ask if you have any other questions, thank you.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Best Regards,&lt;br /&gt;Andi Santoso.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid 7 R2 combine client and server events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-7-R2-combine-client-and-server-events/</link><pubDate>Tue, 29 Dec 2009 04:16:45 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><category>WebGrid</category><category>client server events</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I just have a simple question...&lt;/p&gt;
&lt;p&gt;Is it possible to execute client events before server events with updateRow event of the webgrid ?&lt;/p&gt;
&lt;p&gt;I have a webgrid with OnUpdateRow server events defined :&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;pre&gt;&amp;lt;cc4:WebGrid ID="grdInputSamples" 
                    DataSourceID="dsInputSamples" runat="server"
                    UseDefaultStyle="True" Width="100%" DefaultStyleMode="Elegant"
                    OnInitializeRow="grdInputSamples_InitializeRow"
                    OnUpdateRow="grdInputSamples_UpdateRow"
                    OnDeleteRow="grdInputSamples_DeleteRow"&amp;gt;
                    &amp;lt;LayoutSettings AllowColumnMove="Yes"
                                    AllowSorting="Yes" 
                                    PagingMode="ClassicPaging"
                                    AllowFilter="Yes" 
                                    AutoFilterSuggestion="True" 
                                    ShowFilterStatus="True"
                                    AllowEdit="Yes" 
                                    AllowDelete="Yes"&amp;gt;
                        
                    &amp;lt;/LayoutSettings&amp;gt;&lt;/pre&gt;
&lt;p&gt;and I would like to define a client event as well like :&lt;/p&gt;&lt;pre&gt;function UpdateRow(id)
{
...
}&lt;/pre&gt;
&lt;p&gt;but this function isn't called...&lt;/p&gt;
&lt;p&gt;Is it possible to do that?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;</description></item></channel></rss>