﻿<?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 - Preserve Horizontal Scroll Position After Postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Preserve-Horizontal-Scroll-Position-After-Postback/</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>Preserve Horizontal Scroll Position After Postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Preserve-Horizontal-Scroll-Position-After-Postback/</link><pubDate>Tue, 24 Jul 2012 02:00:18 GMT</pubDate><dc:creator>bernard</dc:creator><description>Hi Ahmed,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Glad to hear that from you. If you have any question, please don't hesitate to ask us.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Bernard&lt;/div&gt;</description></item><item><title>Preserve Horizontal Scroll Position After Postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Preserve-Horizontal-Scroll-Position-After-Postback/</link><pubDate>Mon, 23 Jul 2012 11:16:36 GMT</pubDate><dc:creator>adajani@najiasystems.com</dc:creator><description>Thanks Bernard. Works!&lt;br /&gt;</description></item><item><title>Preserve Horizontal Scroll Position After Postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Preserve-Horizontal-Scroll-Position-After-Postback/</link><pubDate>Sun, 22 Jul 2012 22:31:16 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Ahmed,&lt;/p&gt;
&lt;p&gt;I've made sample to resolve this problem. In InitializeLayout event, you can save scrollBar position value of your WebGrid. Then when WebGrid do PostBack you can set scrollBar position value in InitializePostBack event.&lt;/p&gt;
&lt;p&gt;I also attach my sample here. In my sample, I using Northwind as my DataSource. Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Bernard&lt;/p&gt;</description></item><item><title>Preserve Horizontal Scroll Position After Postback</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Preserve-Horizontal-Scroll-Position-After-Postback/</link><pubDate>Fri, 20 Jul 2012 11:35:27 GMT</pubDate><dc:creator>adajani@najiasystems.com</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I have a grid with many columns. When displayed, I have to scroll right to see the rest of my columns. That is fine. The issue is if I make any kind of edit on the screen that causes the page to post back, the screen refreshes and I lost my position on the grid.&lt;/p&gt;
&lt;p&gt;Is there way to preserve my horizontal scroll location after a postback on the grid?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>