﻿<?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 - ReindexColumnsPosition</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ReindexColumnsPosition/</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>ReindexColumnsPosition</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ReindexColumnsPosition/</link><pubDate>Wed, 21 Apr 2010 17:57:04 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>ReindexColumnsPosition</category><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Brad,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Glad to hear that it helps you to solve the problem. Please do not hesitate to ask if you have any other questions. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>ReindexColumnsPosition</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ReindexColumnsPosition/</link><pubDate>Wed, 21 Apr 2010 16:36:50 GMT</pubDate><dc:creator>bloveall</dc:creator><category>ReindexColumnsPosition</category><description>&lt;p&gt;Thank you Andi. That is helpful.&lt;/p&gt;</description></item><item><title>ReindexColumnsPosition</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ReindexColumnsPosition/</link><pubDate>Wed, 21 Apr 2010 16:15:38 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>ReindexColumnsPosition</category><description>&lt;p /&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Hi Brad,&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    So terribly sorry for mistaken. It seems that I
have uploaded a wrong file, here I attached you a right one. Basically, for the
first time, you do not need to put anything in that "load.isl" file,
just leave it blank. That is why if you see on my sample, I have made a
condition if the length of the file is zero, then we do not need to load these
file.&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    In your case, in my opinion, if every user wants
to have a different layout of WebGrid, you will need to make another validation
to load which file for which user.&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    I hope it helps. Thank you and have a nice day.&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>ReindexColumnsPosition</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ReindexColumnsPosition/</link><pubDate>Wed, 21 Apr 2010 15:58:55 GMT</pubDate><dc:creator>bloveall</dc:creator><category>ReindexColumnsPosition</category><description>&lt;p&gt;Thank you for your prompt reply Andi. The files that I found in the attachment don't seem to match my scenario, at least not obviously. You mention that I should save a file called load.isl. What is supposed to be in this file? What do I do with the file in "PrepareDataBinding?" I didn't see anything like that in the attachment that you included. Also, in my situation, we will have lots of different users so I don't know that it will be enough to have a single .isl file, will it? Each user will be managing the columns differently. Do you have an example of a .isl file that has columns created and how to deal with that in the PrepareDataBinding method?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Brad&lt;/p&gt;</description></item><item><title>ReindexColumnsPosition</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ReindexColumnsPosition/</link><pubDate>Wed, 21 Apr 2010 15:39:16 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>ReindexColumnsPosition</category><description>&lt;p /&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Hi Brad,&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    To establish this scenario, we will need to do
a save layout procedure. So, first of all, you will need to create a sample
load file using notepad and save as "load.isl" and Ensure to put this
file in your project folder. Then we can load this file in PrepareDataBinding
on Server side event and save them in InitializePostBack event.&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;     However, this saving file will only work if
the WebGrid is doing an event of InitializePostBack, that is what we also need
to create client side event of ColumnMove to trigger the InitializePostBack
server side event by using send custom request.&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    To clarify this, I attached you a simple sample
of this scenario. Kindly download and run it in your end. It should meet your
scenario.&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;     I hope it helps. Thank you and have a nice
day.&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>ReindexColumnsPosition</title><link>http://www.intersoftsolutions.com/Community/WebGrid/ReindexColumnsPosition/</link><pubDate>Wed, 21 Apr 2010 14:14:33 GMT</pubDate><dc:creator>bloveall</dc:creator><category>ReindexColumnsPosition</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am evaluating your product. Here is my situation:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Our users have the ability to remove and rearrange the columns in their WebGrid. That works fine, but our goal is to allow users the ability to save these preferences so that when they come back to the page, their column preferences, including the ordering of the columns, is in tact. While we're able to successfully manage the column visibility, we have not been able to manipulate the column ordering. It seems to always load the columns in the order that they appear in the .aspx page. I have tried setting the "Position" property and calling "ReindexColumnsPosition" but that doesn't seem to do anything. Perhaps I'm calling it at the wrong time. I've also tried "Reset" but to no avail. Is there a way to quickly reindex the grid columns or do I need to reindex in the same way that I would reindex any list?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Brad&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>