﻿<?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 - ClientBinding</title><link>http://www.intersoftsolutions.com/Community/Tags/ClientBinding/</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>JSON Serialization error, when grouping</title><link>http://www.intersoftsolutions.com/Community/Tags/ClientBinding/</link><pubDate>Fri, 08 Apr 2011 04:03:27 GMT</pubDate><dc:creator>Nikolay</dc:creator><category>WebGrid</category><category>ClientBinding</category><category>error</category><category>Grouping</category><category>JSON Serialization</category><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I have webgrid with about 18000 rows. There is column ProductId, the count of ProductIds is closed to this value (18000). When webgrid is grouping this data by the ProductId column. I see error from the webgrid "Error during serialization or deserialization using the JSON 
JavaScriptSerializer. The length of the string exceeds the value set on the 
maxJsonLength property." I tried to increase value of maxJsonLength in web.config. But it does not solve the problem. (In this case, the webgrid just hung.) Is there any solution, except just not group by ProductId?&lt;/p&gt;
&lt;p&gt;Thank you!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Filtering data at WebGrid 7 with ClientBinding, Paging and ISLinqDatasource</title><link>http://www.intersoftsolutions.com/Community/Tags/ClientBinding/</link><pubDate>Fri, 23 Oct 2009 06:12:21 GMT</pubDate><dc:creator>somer@optima.com.tr</dc:creator><category>ClientBinding</category><category>Filter</category><category>Paging</category><category>ISLinqDataSource</category><description>&lt;p&gt;I have a webgrid with clientbinding and paging which is connected a ISLinqDataSource (Datasource is Entity Framework).&lt;/p&gt;&lt;p&gt;I would like to return filtered data, but i cant use "filter column" property because of the design and security issues (for example: user may unhide hidden column and clear filter, or i can't apply more than one filter for a single column like "code like 'a%' or code like 'b%' ").&lt;/p&gt;
&lt;p&gt;And i cant use ISLinqDataSource's where property as WebGrid overrides it.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;So i dediced to use FilteredColumns.AdvancedFilterExpression property.&lt;/p&gt;
&lt;p&gt;It runs but has one important problem:&lt;/p&gt;
&lt;p&gt;AdvancedFilterExpression is applied not while querying database, but applied after retrieving data by WebGrid. So if you set paging with 25 rows, you may see less than 25 rows in a pages, even may be all pages with no rows. &lt;/p&gt;</description></item><item><title>ClientBinding and Compression</title><link>http://www.intersoftsolutions.com/Community/Tags/ClientBinding/</link><pubDate>Wed, 19 Aug 2009 17:53:17 GMT</pubDate><dc:creator>danjransom@gmail.com</dc:creator><category>WebGrid</category><category>ClientBinding</category><category>JSON</category><category>compression</category><description>&lt;p&gt;*I duplicated this post deliberately. The first post wouldn't open for me - error page.&lt;/p&gt;
&lt;p&gt;I was looking at the client binding feature in the 2009 version of the grid to determine the bandwidth savings that this would produce for us. I found something very strange:&lt;/p&gt;
&lt;p&gt;It loks like the client binding feature can increase the size of the data transmitted - rather than saving bandwidth. This is because the JSON data is sent uncompressed, while the older XML version of the data appears to be sent with with Gzip compression.&lt;/p&gt;
&lt;p&gt;I tested this with the ClientBinding_BindingEvents.aspx sample page that comes with the grid. With server binding enabled, refreshing the grid on this page sends about 5.5 Kb (compressed down from 38.5 Kb) while client binding sends over 9 Kb.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Is there a way to turn on compression for the JSON data?&lt;/strong&gt; I have II7 dynamic and static compression already enabled without effect. &lt;/p&gt;</description></item></channel></rss>