<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2297698770491701674.post2012677097749491509..comments</id><updated>2010-09-23T11:53:52.135-07:00</updated><category term='Web Form Builder'/><category term='COT Tools for Excel'/><category term='Web App Generator'/><category term='User Interface'/><category term='Reports'/><category term='MySQL'/><category term='Designer'/><category term='Database Lookups'/><category term='ASP.NET Membership'/><category term='SQL Server'/><category term='Video Tutorial'/><category term='Deployment'/><category term='SharePoint'/><category term='AJAX'/><category term='Globalization and Localization'/><category term='Security'/><category term='Web Application Generator'/><category term='Oracle'/><category term='Application Factory'/><category term='Data Sheet'/><category term='Web 2.0'/><category term='Azure'/><category term='EASE'/><category term='ASP.NET'/><category term='Code Generator'/><category term='Web.Config'/><category term='Charts'/><category term='Data Aquarium Framework'/><category term='DotNetNuke'/><category term='Business Rules/Logic'/><category term='Release Notes'/><category term='ASP.NET Code Generator'/><category term='SQL Anywhere'/><category term='Tips and Tricks'/><category term='ASP.NET 3.5'/><category term='BLOB'/><category term='Cloud'/><category term='Installation'/><category term='Master/Detail'/><title type='text'>Comments on Code On Time: Server-Side Data Filters</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.codeontime.com/feeds/2012677097749491509/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html'/><author><name>Customer Service</name><uri>http://www.blogger.com/profile/04471166550881539854</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-1457577256258466908</id><published>2010-09-23T11:53:52.135-07:00</published><updated>2010-09-23T11:53:52.135-07:00</updated><title type='text'>You need to link your class to the data controller...</title><content type='html'>You need to link your class to the data controller through &amp;quot;handler&amp;quot; attribute.&lt;br /&gt; &lt;br /&gt;We suggest that you consider using view filters instead as described at http://blog.codeontime.com/2010/05/sort-and-filter.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/1457577256258466908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/1457577256258466908'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html?showComment=1285268032135#c1457577256258466908' title=''/><author><name>Customer Service</name><uri>http://www.blogger.com/profile/04471166550881539854</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-2012677097749491509' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/2012677097749491509' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2009816044'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-3344846710114063464</id><published>2010-09-06T14:11:06.327-07:00</published><updated>2010-09-06T14:11:06.327-07:00</updated><title type='text'>Tried to load the Class1 but still no filtering. W...</title><content type='html'>Tried to load the Class1 but still no filtering. Where exactly is the code added to,i added it to my page codebehind but it doesnt seem to be called?&lt;br /&gt;&lt;br /&gt;    public class Class1 : IDataFilter&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;        public void Filter(SortedDictionary filter)&lt;br /&gt;        {&lt;br /&gt;            int FormNo;&lt;br /&gt;            if (HttpContext.Current.Session[&amp;quot;FormNo&amp;quot;] == null)&lt;br /&gt;            {&lt;br /&gt;                FormNo = Convert.ToInt32(&amp;#39;8&amp;#39;);&lt;br /&gt;            }&lt;br /&gt;            else&lt;br /&gt;            {&lt;br /&gt;                FormNo =Convert.ToInt32(HttpContext.Current.Session[&amp;quot;FormNo&amp;quot;]);&lt;br /&gt;                &lt;br /&gt;            }&lt;br /&gt;            filter.Add(&amp;quot;FormNo&amp;quot;, FormNo);&lt;br /&gt;            &lt;br /&gt;        }&lt;br /&gt;    }</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/3344846710114063464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/3344846710114063464'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html?showComment=1283807466327#c3344846710114063464' title=''/><author><name>ajnar</name><uri>http://www.blogger.com/profile/15128269550395007327</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-2012677097749491509' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/2012677097749491509' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-585338051'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-5329137630144226470</id><published>2009-02-16T02:11:00.000-08:00</published><updated>2009-02-16T02:11:00.000-08:00</updated><title type='text'>I have tried creating IDataFilter interface in Com...</title><content type='html'>I have tried creating IDataFilter interface in Common.vb &lt;BR/&gt;      &lt;BR/&gt;Public Interface IDataFilter&lt;BR/&gt;        Sub Filter(ByVal filter As SortedDictionary(Of String, Object)) &lt;BR/&gt;    End Interface&lt;BR/&gt;&lt;BR/&gt;And then I created Class1 following your tutorial and also made change to the controller.xml file, also tried to pass the values using session variables. But still no filteration is available. &lt;BR/&gt;&lt;BR/&gt;Is the files created using your premium subscription is different from that created using your free version?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/5329137630144226470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/5329137630144226470'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html?showComment=1234779060000#c5329137630144226470' title=''/><author><name>Pravin</name><uri>http://www.blogger.com/profile/14009560905204989347</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-2012677097749491509' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/2012677097749491509' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1689457686'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-8138575934004851999</id><published>2009-02-13T21:37:00.000-08:00</published><updated>2009-02-13T21:37:00.000-08:00</updated><title type='text'>Pravin,&lt;br&gt;&lt;br&gt;You don&amp;#39;t have to create an ins...</title><content type='html'>Pravin,&lt;BR/&gt;&lt;BR/&gt;You don&amp;#39;t have to create an instance of Class1 explicitly. Simply modify dataController element to include the class name in dataFilterType attribute:&lt;BR/&gt;&lt;BR/&gt;&amp;lt;dataController  name=&amp;quot;Orders&amp;quot; ...  dataFilterType=&amp;quot;Class1&amp;quot;&amp;gt;&lt;BR/&gt;&lt;BR/&gt;The class instance is automatically created when data is about to be returned to the client. You can communicate with the class via Session object.  &lt;BR/&gt;&lt;BR/&gt;For example, in your *.aspx page assign values to session variables EmployeeID and ShipVia:&lt;BR/&gt;&lt;BR/&gt;        Protected Sub Button1_Click(ByVal sender As Object, _&lt;BR/&gt;            ByVal e As System.EventArgs) Handles Button1.Click&lt;BR/&gt;            Session(&amp;quot;EmployeeID&amp;quot;) = 45&lt;BR/&gt;            Session(&amp;quot;ShipVia&amp;quot;) = 2&lt;BR/&gt;        End Sub&lt;BR/&gt;&lt;BR/&gt;Use session variables as in this example:&lt;BR/&gt;&lt;BR/&gt;Imports System.Collections.Generic&lt;BR/&gt;Imports MyCompany.Data&lt;BR/&gt;&lt;BR/&gt;Public Class Class1&lt;BR/&gt;    Implements IDataFilter&lt;BR/&gt;&lt;BR/&gt;    Public Sub Filter(ByVal filter As SortedDictionary(Of String, Object)) _&lt;BR/&gt;        Implements MyCompany.Data.IDataFilter.Filter&lt;BR/&gt;        filter.Add(&amp;quot;EmployeeID&amp;quot;, HttpContext.Current.Session(&amp;quot;EmployeeID&amp;quot;))&lt;BR/&gt;        filter.Add(&amp;quot;ShipVia&amp;quot;, HttpContext.Current.Session(&amp;quot;ShipVia&amp;quot;))&lt;BR/&gt;    End Sub&lt;BR/&gt;End Class</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/8138575934004851999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/8138575934004851999'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html?showComment=1234589820000#c8138575934004851999' title=''/><author><name>Code OnTime</name><uri>http://codeontime.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-2012677097749491509' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/2012677097749491509' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-141345875'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-2259669104763307680</id><published>2009-02-12T23:12:00.000-08:00</published><updated>2009-02-12T23:12:00.000-08:00</updated><title type='text'>Can you please show me the code where you may have...</title><content type='html'>Can you please show me the code where you may have created a instance to the class "Class1" and passed filters to "EmployeeId" and "ShipVia" fields.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/2259669104763307680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/2259669104763307680'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html?showComment=1234509120000#c2259669104763307680' title=''/><author><name>Pravin</name><uri>http://www.blogger.com/profile/14009560905204989347</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-2012677097749491509' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/2012677097749491509' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1689457686'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-755120768430136668</id><published>2008-10-29T15:55:00.000-07:00</published><updated>2008-10-29T15:55:00.000-07:00</updated><title type='text'>Server-side data filters are supported in Data Aqu...</title><content type='html'>Server-side data filters are supported in Data Aquarium Framework, which is available to premium project subscribers only.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/755120768430136668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/755120768430136668'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html?showComment=1225320900000#c755120768430136668' title=''/><author><name>Code OnTime</name><uri>http://codeontime.com/support.aspx</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-2012677097749491509' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/2012677097749491509' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1803605389'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-6391499385802232739</id><published>2008-10-29T14:02:00.000-07:00</published><updated>2008-10-29T14:02:00.000-07:00</updated><title type='text'>Where is the IDataFilter class located. I download...</title><content type='html'>Where is the IDataFilter class located. I downloaded the latest version of the CodeGenerator and I Don't have access to the Interface. &lt;BR/&gt;&lt;BR/&gt;Thanks :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/6391499385802232739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/6391499385802232739'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html?showComment=1225314120000#c6391499385802232739' title=''/><author><name>oumiller21</name><uri>http://www.blogger.com/profile/07001877258377532925</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-2012677097749491509' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/2012677097749491509' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-4461825'/></entry><entry><id>tag:blogger.com,1999:blog-2297698770491701674.post-3372892988928134188</id><published>2008-10-21T20:11:00.000-07:00</published><updated>2008-10-21T20:11:00.000-07:00</updated><title type='text'>Can you provide an example of this?&lt;br&gt;&lt;br&gt;In a re...</title><content type='html'>Can you provide an example of this?&lt;BR/&gt;&lt;BR/&gt;In a real-world scenario you will likely use HttpContext.Current.User.Identity property or HttpContext.Current.User.IsInRole method to determine the scope of data that you want to include in the result set displayed to a currently signed in user. Make sure to add System.Web namespace to the list of namespaces in your data filter to get access to HttpContext.Current property.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/3372892988928134188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2297698770491701674/2012677097749491509/comments/default/3372892988928134188'/><link rel='alternate' type='text/html' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html?showComment=1224645060000#c3372892988928134188' title=''/><author><name>Lloyd Merithew</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codeontime.com/2008/09/server-side-data-filters.html' ref='tag:blogger.com,1999:blog-2297698770491701674.post-2012677097749491509' source='http://www.blogger.com/feeds/2297698770491701674/posts/default/2012677097749491509' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-841135844'/></entry></feed>
