﻿<?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 - Handle resources in WebScheduler</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Handle-resources-in-WebScheduler/</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>Handle resources in WebScheduler</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Handle-resources-in-WebScheduler/</link><pubDate>Wed, 21 Apr 2010 06:31:17 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebScheduler</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Ok. Just did it. &lt;/span&gt;&lt;span style="font-family: wingdings; color: #1f497d; font-size: 9pt"&gt;J&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Handle resources in WebScheduler</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Handle-resources-in-WebScheduler/</link><pubDate>Wed, 21 Apr 2010 06:07:35 GMT</pubDate><dc:creator>vangeloni</dc:creator><category>WebScheduler</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;sorry could you send me to my email &lt;a href="mailto:vincenzo.angeloni@wuerth-phoenix.com"&gt;vincenzo.angeloni@wuerth-phoenix.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;VInce&lt;/p&gt;</description></item><item><title>Handle resources in WebScheduler</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Handle-resources-in-WebScheduler/</link><pubDate>Wed, 21 Apr 2010 05:50:20 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebScheduler</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;We haven’t released the hotfix that contains this enhancement. The official release version of the new event enhancement will be available in our upcoming hotfix.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I’ve sent you the nightly build of this new enhancement to your registered e-mail account. Please check your inbox, follow the steps in &lt;a href="http://www.intersoftpt.com/Build/ApplyHotfix" target="_blank"&gt;here&lt;/a&gt; in order to apply the hotfix manually, and let us know whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Handle resources in WebScheduler</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Handle-resources-in-WebScheduler/</link><pubDate>Wed, 21 Apr 2010 03:27:37 GMT</pubDate><dc:creator>vangeloni</dc:creator><category>WebScheduler</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;&lt;p&gt;thanks for the example. Could you tell me which is the hotfix version with this new enhancemen?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;VInce.&lt;br /&gt; &lt;/p&gt;</description></item><item><title>Handle resources in WebScheduler</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Handle-resources-in-WebScheduler/</link><pubDate>Sun, 18 Apr 2010 22:59:22 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebScheduler</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;WebScheduler development team has enhanced and added a new client side event called OnResourceClicked event. OnResourceClicked event is the event handler when resource checkbox is clicked. The event has three parameters: controlId – the id of WebScheduler instance; checkBoxEl – the checkbox element of the resource checkbox; and selectedResources – the object of selected resource.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The best way to implement the mutually exclusive scenario is by using the OnResourceClicked event. First, we’ll need to have all resources unchecked – using the snippet code showed on my previous post, and then check/select the corresponding selected resource. Below is the snippet code that shows how to have selected resource mutually exclusive. *the code has been tested on my end.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;script type="text/javascript"&amp;gt;
    &amp;lt;!--
    function WebScheduler1_OnResourceClicked(controlId, checkBoxEl, selectedResource) {
        var WebScheduler1 = ISGetObject(controlId);
        var resources = WebScheduler1.Resources;

        for (var i = 0; i &amp;lt; resources.length; i&amp;#43;&amp;#43;) {
            var resource = resources[i];

            if (resource == selectedResource)
                selected = resource;
            WebScheduler1.HideResources(resource);
        }

        WebScheduler1.ShowResources(selected);

        return true;
    }
    --&amp;gt;
&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The new event enhancement will be available in our upcoming hotfix. Please let us know if you need to have the nightly build of the hotfix.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Handle resources in WebScheduler</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Handle-resources-in-WebScheduler/</link><pubDate>Thu, 15 Apr 2010 03:42:52 GMT</pubDate><dc:creator>vangeloni</dc:creator><category>WebScheduler</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;&lt;p&gt;thanks for the answer, I'm on the right way: I used a code similar to the one proposed by you, but in OnInitialize client side event so that when I switch the view the selection is not reset.&lt;/p&gt;
&lt;p&gt;With "have the selected resource mutually exclusive" I mean that only one resource at time should be selected.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Vince&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Handle resources in WebScheduler</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Handle-resources-in-WebScheduler/</link><pubDate>Thu, 15 Apr 2010 03:28:32 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebScheduler</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;In order to have all resource checkboxes unchecked when the WebScheduler is loaded you may utilize &lt;strong&gt;OnAfterRenderView&lt;/strong&gt; client-side event of WebScheduler. OnAfterRenderView is WebScheduler client-side event that gets or sets the event handler after render view is completed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Below is a script snippet that will uncheck all resource checkboxes. Hope this helps.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;script type="text/javascript"&amp;gt;
    &amp;lt;!--
    function WebScheduler1_OnAfterRenderView(controlId, viewMode) {
        var WebScheduler1 = ISGetObject(controlId);
        var resources = WebScheduler1.Resources;

        for (var i = 0; i &amp;lt; resources.length; i&amp;#43;&amp;#43;) {
            var resource = resources[i];

            WebScheduler1.HideResources(resource);
        }

        return true;
    }
    --&amp;gt;
&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Could you please describe me in detail the terms “have the selected resource mutually exclusive”?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Handle resources in WebScheduler</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Handle-resources-in-WebScheduler/</link><pubDate>Wed, 14 Apr 2010 06:34:30 GMT</pubDate><dc:creator>vangeloni</dc:creator><category>WebScheduler</category><description>&lt;p&gt;Hi all, &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I have 2 questions:&lt;br /&gt;&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;is there a way to have all resources unchecked when the WebScheduler is loaded?&lt;/li&gt;&lt;li&gt;is it possible to have the selected resource mutually exclusive?&lt;/li&gt;&lt;/ol&gt;Thanks in advance,&lt;br /&gt;&lt;br /&gt;Vince&lt;br /&gt;</description></item></channel></rss>