﻿<?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 - get resource id from javascript with day splitview in client event OnEditingFormShow</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/get-resource-id-from-javascript-with-day-splitview-in-client-event-OnEditingFormShow/</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>get resource id from javascript with day splitview in client event OnEditingFormShow</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/get-resource-id-from-javascript-with-day-splitview-in-client-event-OnEditingFormShow/</link><pubDate>Mon, 09 May 2011 03:33:04 GMT</pubDate><dc:creator>michela@topgraf.it</dc:creator><description>&lt;p&gt;Hi Riendy&lt;/p&gt;
&lt;p&gt;eventview is null...&lt;/p&gt;
&lt;p&gt;I resolved. I add clientevent &lt;span style="font-size: 13px"&gt;OnValidateDisabledTime where i store resourseId variables&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Michela&lt;/span&gt;&lt;/p&gt;</description></item><item><title>get resource id from javascript with day splitview in client event OnEditingFormShow</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/get-resource-id-from-javascript-with-day-splitview-in-client-event-OnEditingFormShow/</link><pubDate>Thu, 05 May 2011 00:30:12 GMT</pubDate><dc:creator>Riendy</dc:creator><description>&lt;p&gt;Hi Michela,&lt;/p&gt;
&lt;p&gt;If you want to get the id of the resources that user selected in day SplitViewMode in the client event "WebSchedulerOnEditingFormShow", you can try snippet code bellow :&lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;&lt;pre&gt;function WebScheduler1_OnEditingFormShow(controlId, action, eventView, eventType, newType) {
            var WebScheduler1 = ISGetObject(controlId);
            if (eventView.IsRecurringEvent())
                Alert("ResourceID : " &amp;#43; eventView.OriginalRecurringObject.ResourceID);
            else
                Alert("ResourceID : " &amp;#43; eventView.OriginalObject.ResourceID);
            return true;
        }&lt;/pre&gt;
&lt;p&gt;Please let me know if it works fine after this snippet code applied.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Hope this helps&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Riendy&lt;/p&gt;</description></item><item><title>get resource id from javascript with day splitview in client event OnEditingFormShow</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/get-resource-id-from-javascript-with-day-splitview-in-client-event-OnEditingFormShow/</link><pubDate>Tue, 03 May 2011 10:16:45 GMT</pubDate><dc:creator>michela@topgraf.it</dc:creator><description>&lt;p style="text-align:left"&gt;Hi,&lt;/p&gt;
&lt;p style="text-align:left"&gt;I need to obtain from javascript the id of the resources that user have selected in day splitviewmode&lt;/p&gt;
&lt;p style="text-align:left"&gt;I have 3 differents resources and in the client event "WebScheduler OnEditingFormShow" i must obtain the resourceid before show my custom editingform&lt;/p&gt;
&lt;p style="text-align:left"&gt;I use this function to set initial view with splitviewmode&lt;/p&gt;
&lt;p style="text-align:left"&gt;function SetInitialMode() {&lt;/p&gt;
&lt;p style="text-align:left"&gt;var ws = ISGetObject("WebScheduler");&lt;/p&gt;
&lt;p style="text-align:left"&gt;ws.IsInSplitViewMode = true;&lt;/p&gt;
&lt;p style="text-align:left"&gt;ws.SetSelectedViewMode("Day");&lt;/p&gt;
&lt;p style="text-align:left"&gt;}&lt;/p&gt;
&lt;p style="text-align:left"&gt;&lt;br /&gt;Thank&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>