﻿<?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 - WebScheduler - Resources's question</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Resourcess-question/</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>Resources's question</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Resourcess-question/</link><pubDate>Mon, 11 Oct 2010 23:47:14 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Should you need to uncheck the &lt;em&gt;Resources&lt;/em&gt; checkbox on page load, you can try to use &lt;em&gt;OnAfterRenderView&lt;/em&gt; client-side event of WebScheduler and invoke &lt;em&gt;HideResources(parameter)&lt;/em&gt; method to get the Resources checkbox unchecked.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-family: 'consolas', 'courier new'; color: blue; font-size: 9pt"&gt;function&lt;/span&gt; &lt;span style="font-family: 'consolas', 'courier new'; font-size: 9pt"&gt;WebScheduler1_OnAfterRenderView(controlId, viewMode) {&lt;/span&gt;
    &lt;span style="font-family: 'consolas', 'courier new'; color: blue; font-size: 9pt"&gt;var&lt;/span&gt; &lt;span style="font-family: 'consolas', 'courier new'; font-size: 9pt"&gt;WebScheduler1 = ISGetObject(controlId);&lt;/span&gt;
    &lt;span style="font-family: 'consolas', 'courier new'; color: blue; font-size: 9pt"&gt;var&lt;/span&gt; &lt;span style="font-family: 'consolas', 'courier new'; font-size: 9pt"&gt;resources = WebScheduler1.Resources;&lt;/span&gt;

    &lt;span style="font-family: 'consolas', 'courier new'; color: blue; font-size: 9pt"&gt;for&lt;/span&gt; &lt;span style="font-family: 'consolas', 'courier new'; font-size: 9pt"&gt;(&lt;/span&gt;&lt;span style="font-family: 'consolas', 'courier new'; color: blue; font-size: 9pt"&gt;var&lt;/span&gt; &lt;span style="font-family: 'consolas', 'courier new'; font-size: 9pt"&gt;i = 0; i &amp;lt; resources.length; i&amp;#43;&amp;#43;) {&lt;/span&gt;
        &lt;span style="font-family: 'consolas', 'courier new'; color: blue; font-size: 9pt"&gt;var&lt;/span&gt; &lt;span style="font-family: 'consolas', 'courier new'; font-size: 9pt"&gt;resource = resources[i];

        WebScheduler1.HideResources(resource);
    }&lt;/span&gt;

    &lt;span style="font-family: 'consolas', 'courier new'; color: blue; font-size: 9pt"&gt;return true&lt;/span&gt;;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I enclosed one simple sample that shows how to have the entire Resources checkbox of WebScheduler unchecked on page load as attachment. Please have the attached file tested on your end and let us know if you have different scenario.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Resources's question</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Resourcess-question/</link><pubDate>Mon, 11 Oct 2010 05:03:34 GMT</pubDate><dc:creator>Viking2010</dc:creator><description>&lt;p&gt;How can I let the Resources of the default doesn't chosen?&lt;/p&gt;</description></item></channel></rss>