﻿<?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 - LoadLayout look like doesn't work</title><link>http://www.intersoftsolutions.com/Community/WebGrid/LoadLayout-look-like-doesnt-work/</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>LoadLayout look like doesn't work</title><link>http://www.intersoftsolutions.com/Community/WebGrid/LoadLayout-look-like-doesnt-work/</link><pubDate>Wed, 01 Jun 2011 09:26:49 GMT</pubDate><dc:creator>MangL@oceanwide.com</dc:creator><description>&lt;p&gt;Hi Riendy,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;It works fine. I appreciate you giving me a great help.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Mang&lt;/p&gt;</description></item><item><title>LoadLayout look like doesn't work</title><link>http://www.intersoftsolutions.com/Community/WebGrid/LoadLayout-look-like-doesnt-work/</link><pubDate>Wed, 01 Jun 2011 00:19:27 GMT</pubDate><dc:creator>Riendy</dc:creator><description>&lt;p&gt;Hello Mang Lu,&lt;/p&gt;&lt;p&gt;I can replicated your issue here. The problem that you got is not when you click the Load button, but when you save. The save file might be uncompletely. But the other way to save and load webGrid's layout, I suggest you to use SaveTablesStructure. SaveTablesStructure can cover all scenario for save and load WebGrid's layout.&lt;/p&gt;
&lt;p&gt;You can look at snippet code bellow :&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt; protected void Button1_Click(object sender, EventArgs e)
    {
        WebGrid1.SaveTablesStructure(Server.MapPath("SampleLayout.isl"));&amp;nbsp;
        // you can also use xml file
    }&lt;/pre&gt;&lt;pre&gt;    protected void Button2_Click(object sender, EventArgs e)
    {
        WebGrid1.LoadTablesStructure(Server.MapPath("SampleLayout.isl"));
        WebGrid1.RebindDataSource();
    }&lt;/pre&gt;
&lt;p&gt; &lt;br /&gt;Hope this helps.&lt;br /&gt;Riendy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>LoadLayout look like doesn't work</title><link>http://www.intersoftsolutions.com/Community/WebGrid/LoadLayout-look-like-doesnt-work/</link><pubDate>Tue, 31 May 2011 15:53:32 GMT</pubDate><dc:creator>MangL@oceanwide.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I try to use saveLayout and Loadlayout of WebGrid 7. I've created a simple page with a webgrid and two buttons, one used to save layout and another to load layout. SaveLayout works fine, I change the layout of the grid and click the button "Save", then the layout is aved to the WGL file. Then I restart the page and click the button "Load", but the grid's layout isn't changed according to the WGL file.&lt;/p&gt;
&lt;p&gt;Coluld you give me a hlep?&lt;/p&gt;
&lt;p&gt;Thank&lt;/p&gt;
&lt;p&gt;Mang&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>