﻿<?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 - Webscheduler Event Color Enhancement </title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color-Enhancement/</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>Webscheduler Event Color Enhancement </title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color-Enhancement/</link><pubDate>Thu, 12 Jan 2012 06:34:49 GMT</pubDate><dc:creator>srikantweb007</dc:creator><category>WebScheduler</category><category>Event</category><description>&lt;p&gt;Thank you for your support.&lt;/p&gt;</description></item><item><title>Webscheduler Event Color Enhancement </title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color-Enhancement/</link><pubDate>Mon, 02 Jan 2012 21:44:32 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebScheduler</category><category>Event</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Yes, the evt.GetContentElement() method will returns a single div of HTML element.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;It seems that the approach to set the background image property as shown in the FitnessCenterWebScheduler.aspx sample file doesn’t fit your scenario very well. By default, the WebScheduler doesn’t support to have a single event with three different colors. I may be able to help submitting this scenario as feature request to the development team.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webscheduler Event Color Enhancement </title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color-Enhancement/</link><pubDate>Fri, 30 Dec 2011 09:23:45 GMT</pubDate><dc:creator>srikantweb007</dc:creator><category>WebScheduler</category><category>Event</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p style=""&gt;I have been looking into the code given in live sample version and I have been trying few things like, in the EventBound javascript function I added color to the event bar like this :-&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-family: 'lucida sans unicode'; font-size: 10pt; "&gt;function WebScheduler1_EventBound(controlId, evt) {&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;            var s = ISGetObject(controlId);
            var arr = new ISArray();
            var childArray = new Array();
            var startInfoArray = new Array();
            var endInfoArray = new Array();
            var year = 0;
            var month = 0;
            var day = 0;
            var sHour = 0;
            var sMin = 0;
            var eHour = 0;
            var eMin = 0;
            if (s.ViewSettings.SelectedViewMode == "Month") {
                var currentWeekDay = evt.StartTime.getDay();
                startInfoArray = evt.StartTimeInfo.split("|");
                endInfoArray = evt.EndTimeInfo.split("|");
                var sMonth = 0;
                var eMonth = 0;
                sMonth = parseInt(startInfoArray[1], 10);
                eMonth = parseInt(endInfoArray[1], 10);
                var arr2 = new ISArray();
                var endDay1 = parseInt(endInfoArray[0], 10);
                var endMon1 = eMonth;
                var endyear1 = parseInt(endInfoArray[2], 10);
                var vType = parseInt(evt.OriginalObject.ResourceID, 10);
                if (vType == 1) {
                    arr2.Add(new WebSchedulerDateRange(new Date(startInfoArray[2], sMonth, startInfoArray[0], startInfoArray[3], startInfoArray[4], 0), new Date(endyear1, endMon1, endDay1, endInfoArray[3], endInfoArray[4], 0), 2, "DateTime"));
                    var elements2 = s.GetCellElements(arr2);
                    var ScheduledColor = "#FF0000"&lt;/pre&gt;&lt;pre&gt;                    var div = evt.GetContentElement();          //** Event bar div
                    div.style.backgroundColor = ScheduledColor; //** Set color to div
                }}}&lt;/pre&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Now, I debuged the code and I found that "&lt;span style="font-family: 'lucida sans unicode'; font-size: 10pt; "&gt;var div = evt.GetContentElement();" gave me a single div.
&lt;p&gt;Don't know how to add three colors to a single div? That too have to be dynamic.&lt;/p&gt;
&lt;p&gt;Looking forward to your response.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;/span&gt;</description></item><item><title>Webscheduler Event Color Enhancement </title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color-Enhancement/</link><pubDate>Fri, 30 Dec 2011 02:13:20 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebScheduler</category><category>Event</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;By default, the color of WebScheduler’s event is based on its resource. However, you can try to modify the applied style of the event content element as shown in FitnessCenterWebScheduler.aspx sample (the local version of this sample is available in WebSchedulerSamples project; and the live sample version of this sample can be accessed in &lt;a href="http://live.intersoftpt.com/cs/WebScheduler/ FitnessCenterWebScheduler.aspx"&gt;http://live.intersoftpt.com/cs/WebScheduler/ FitnessCenterWebScheduler.aspx&lt;/a&gt;).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Try to scroll down the timeline view and find the events of Claire, Harry, and Paul. The events have a custom image attached into the event content element. For more detail information, please check the sample code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Look forward to hearing back from you whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webscheduler Event Color Enhancement </title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color-Enhancement/</link><pubDate>Thu, 29 Dec 2011 02:56:53 GMT</pubDate><dc:creator>srikantweb007</dc:creator><category>WebScheduler</category><category>Event</category><description>&lt;p&gt;I have a very specific requirement regarding my application that I am using the webscheduler for, specifically the month view mode.&lt;/p&gt;&lt;p&gt;Webscheduler seems to use the Resource color as the Event color "bar" when designating appointments.&lt;br /&gt;
Now I have a requirement like,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Each event has 3 parts.&lt;/li&gt;
&lt;li&gt;Each part can be set to number of days.&lt;/li&gt;
&lt;li&gt;The End Date will be calculated by adding the days for each part to the Begin Date&lt;/li&gt;
&lt;li&gt;We want to display the line on the calendar covering the days in color blocks.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So for a event that is 1 day part1, 1 day part2 and 1 day part3 the schedule would show a band covering 3 days that is 1/3 color1; 1/3 color2; 1/3 color3;&lt;/p&gt;
&lt;p&gt;So, main thing is that, can we have a single event with three different colors ?&lt;/p&gt;
&lt;p&gt;Please tell me do I have any options or workarounds regarding this?&lt;/p&gt;</description></item></channel></rss>