﻿<?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 - Lounge - Excel-like Save for WebGrid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Excel-like-Save-for-WebGrid/</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>Excel-like Save for WebGrid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Excel-like-Save-for-WebGrid/</link><pubDate>Mon, 08 Sep 2014 21:51:40 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>excel</category><category>save</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Could you please provide me with more information regarding the requirement to implement Excel-like save for the grid without the 'Accept All Changes' button in WebGrid?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;SmartBatchUpdate is a feature which enables you to perform multiple edits across multiple tables in real-time without postback/callback. All pending changes will be submitted into server at once with a single AJAX callback. In my opinion, this editing experience is similar with Excel.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I'm sure that there must be something that I might miss to implement your required scenario.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Excel-like Save for WebGrid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Excel-like-Save-for-WebGrid/</link><pubDate>Fri, 05 Sep 2014 00:27:07 GMT</pubDate><dc:creator>sample4170</dc:creator><category>WebGrid</category><category>excel</category><category>save</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I've succesfully implemented OnAfterTabChanged client-side event and reloaded the page itself thus the grid is refreshed automatically. &lt;/p&gt;
&lt;p&gt;I also would like to know if there is any way of implementing Excel-like save for the grid without the 'Accept All Changes' button in th Grid?&lt;/p&gt;
&lt;p&gt;Thanks once again for the help.&lt;/p&gt;</description></item><item><title>Excel-like Save for WebGrid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Excel-like-Save-for-WebGrid/</link><pubDate>Thu, 04 Sep 2014 07:36:10 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>excel</category><category>save</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;WebTab has &lt;strong&gt;OnAfterTabChanged&lt;/strong&gt; client-side event. It specifies the client-side function to be invoked after client changed the tab.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;// This function is called when active tab has changed
function OnAfterTabChanged(controlId, tabItem)
{
    //RefreshWebGrid();
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I'm willing to advise you further but in order to do so I would need you to elaborate on your specific scenario and possibly give me an information about the &lt;em&gt;ContentMode&lt;/em&gt; of the WebTab that I can use to create a sample page based on your description.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Excel-like Save for WebGrid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Excel-like-Save-for-WebGrid/</link><pubDate>Wed, 03 Sep 2014 07:01:19 GMT</pubDate><dc:creator>sample4170</dc:creator><category>WebGrid</category><category>excel</category><category>save</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;
&lt;p&gt;Thanks for the code.&amp;nbsp; My problem is this: I have a master tab('MTab') inside which I have another Tab('ATab'). ATab contains the Grid which needs to be refreshed every time, either ATab or MTab is switched. &lt;/p&gt;
&lt;p&gt;Thus, on&amp;nbsp;these switches, with the Grid Page Tab active, the Grid/Page&amp;nbsp;does not go to Page Load. This renders the "Refresh" function call useless. I might need an event on webtab change which refreshes the Grid Data. But I am not sure how to go about it as these tabs are not connected like "master" - "content" page to retrieve the Grid Object ID.&lt;/p&gt;
&lt;p&gt;I appreciate all the help about this as well as the other issues. Thanks!&lt;/p&gt;</description></item><item><title>Excel-like Save for WebGrid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Excel-like-Save-for-WebGrid/</link><pubDate>Wed, 03 Sep 2014 05:11:41 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>excel</category><category>save</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;It is possible to refresh WebGrid without clicking on 'Refresh' button. You can try to use following snippet code in JS function.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function RefreshWebGrid()
{
    // retrieves WebGrid's object
    var grid = ISGetObject("WebGrid1");

    // This method will refresh only the data.
    grid.Refresh();

    // This method will refresh the whole grid, including the grid structure.
    // For instance, if the column structure has changed,
    // the changes will be picked up upon calling this method.
    //grid.RefreshAll();
            
    return true;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Or use following snippet code in code behind.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;protected void Page_Load(object sender, EventArgs e)
{
    WebGrid1.ClientAction.Refresh();
    //WebGrid1.ClientAction.RefreshAll();
}&lt;/pre&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this help.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Excel-like Save for WebGrid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Excel-like-Save-for-WebGrid/</link><pubDate>Wed, 03 Sep 2014 00:46:58 GMT</pubDate><dc:creator>sample4170</dc:creator><category>WebGrid</category><category>excel</category><category>save</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry if this page already exists, but I have searched the Community pages for similar threads&amp;nbsp;and couldn't find. So, I have started new.&lt;/p&gt;
&lt;p&gt;I have a webgrid which I'ld like to auto save the changes just&amp;nbsp;like Excel. 'Accept All changes' is great but I'ld like this better. &lt;/p&gt;
&lt;p&gt;Also, the Data Source for the grid is a SQL Data Source for which there are no server-side codes for initializing the source or updations to DB. Now, what I want is like the when the WebTab switches back(you can say, on Page Loading), the Grid refreshes (as the other tabs might change the basic criteria in the DB) without clicking on 'Refresh' button. Is this possible?&lt;/p&gt;</description></item></channel></rss>