<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Grid: Get View Filter</title><link>http://forums.method.me/cs/forums/thread/13615.aspx</link><pubDate>Tue, 04 Sep 2012 16:19:00 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13615</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13615.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=13615</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;span id="mce_13_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;Dave:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;How can you detirmine which filter is currently active on a grid?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;This information isn&amp;#39;t stored in a session so there would be no &lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;way to determine which filter you&amp;#39;re on. &amp;nbsp;I&amp;#39;ve submitted a suggestion to the team here to add this information to the &lt;em&gt;Get Value From Screen&lt;/em&gt; but I can&amp;#39;t tell you when or if this feature will be added.&lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;If you wanted to build a workaround you &lt;span id="mce_7_start" style="overflow:hidden;"&gt;could&amp;nbsp;&lt;/span&gt;replace the filter drop down on a grid with a button somewhere else on the page and&amp;nbsp;assign the filter changes to an Action Result on change. &amp;nbsp;Using your own custom filter view switcher you could then write the filter name to an Action Result every time it changes. &amp;nbsp;This way you would know what the current filter. &amp;nbsp;You&amp;#39;d also need to add an onScreenLoad action to write the default filter name into the Action Result to start. &amp;nbsp;This is the only work around I can think of to acheive what you&amp;#39;re looking for.&lt;span id="mce_8_start" style="overflow:hidden;"&gt; &amp;nbsp;The problem with this solution is that the filter by view drop down would still show in the grid so if someone used that instead of your button then your Action Result wouldn&amp;#39;t populate.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;~C&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;span id="mce_11_end" style="overflow:hidden;"&gt;&lt;span id="mce_12_start" style="overflow:hidden;"&gt;&lt;span id="mce_13_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Grid: Get View Filter</title><link>http://forums.method.me/cs/forums/thread/13608.aspx</link><pubDate>Fri, 31 Aug 2012 22:37:37 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13608</guid><dc:creator>Dave</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13608.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=13608</wfw:commentRss><description>&lt;p&gt;The action in Grids, Set View Filter can set the filter, but I need to verify which filter is being used prior to executing some code.&amp;nbsp; How can you detirmine which filter is currently active on a grid?&amp;nbsp; Could this be added to Get Value from Screen?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item></channel></rss>