﻿<?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</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</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</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Mon, 19 Nov 2012 22:28:51 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I modified the snippet code and test it in Month view with no problem. Could you please be more specific with the terms “not working”? Is there any exception happens or the specified color is not applied correctly?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I enclosed the modified version of FitnessCenterWebScheduler.aspx sample file of WebScheduler which shows that shows how it works. In this very simple sample, all the events has red background color.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webscheduler Event Color</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Mon, 19 Nov 2012 09:16:56 GMT</pubDate><dc:creator>sobikash11@googlemail.com</dc:creator><description>&lt;p&gt;Thanks Yudi, the Solution is working perfectly. Thanks for your help!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;But i have another Question. If i do the same for MonthView&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;if (WebScheduler1.ViewSettings.SelectedViewMode == "Month") not working!&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;it is not working. Is there also a Workaround for MonthView?&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Webscheduler Event Color</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Thu, 15 Nov 2012 22:20:53 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;There is a workaround to have WebScheduler’s events to be colored based on their Category’s color. This approach utilizes &lt;em&gt;OnEventBound&lt;/em&gt; client-side event of WebScheduler. (OnEventBound will gets or sets the event handler when Event is bound.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;The snippet code below shows how to set event content element to be Blue if their CategoryID is equal to 1; set event content element to be Red if their CategoryID is equal to 2; etc.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function OnEventBound(controlId, evt)
{
    var WebScheduler1 = ISGetObject(controlId);
            
    if (WebScheduler1.ViewSettings.SelectedViewMode == "Timeline")
    {
        var categoryID = evt.GetOriginalObject().CategoryID;
        var div = evt.GetContentElement();
        switch (categoryID)
        {
            case "1":
                div.style.backgroundColor = "Blue";
                break;
            case "2":
                div.style.backgroundColor = "Red";
                break;
            default:
                break;
        }
    }
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;However, there are things that we have to consider if we want to implement this code.&lt;/span&gt;&lt;/p&gt;
&lt;ul style="color: rgb(31, 73, 125);"&gt;&lt;li&gt;Events in WebScheduler can have no Category at all. What color if the event has no selected Category at all?&lt;/li&gt;&lt;li&gt;Events in WebScheduler may have multiple Category. What color should be applied if the event is under multiple Categories?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Please let us hear your feedback regarding this.&lt;/span&gt;&lt;/p&gt;
</description></item><item><title>Webscheduler Event Color</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Wed, 14 Nov 2012 04:47:29 GMT</pubDate><dc:creator>sobikash11@googlemail.com</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;br /&gt;&lt;br /&gt;my Company is using Web sceduler and actually we need a solution in the matter pictured above. We have to be able to switch bar colours in category colours, or we can't use InterSoft Web Sceduler at all.&lt;br /&gt;Do You have any progress in this? Is there planned any update?&lt;br /&gt;&lt;br /&gt;with kind regards and hope for any solution&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Webscheduler Event Color</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Mon, 08 Aug 2011 05:25:16 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;I’d like to inform you that this kind of scenario is not supported yet in the current build version of WebScheduler.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;However, I have submitted this as feature request to the WebScheduler development team. The team will check the feasibility to implement this feature in the upcoming build of WebScheduler.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webscheduler Event Color</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Thu, 04 Aug 2011 14:43:53 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. Can you tell me how your internal processes work in regards to issues like this that have been "forwarded to the webscheduler development team"? Is this a long process or what happens from here?&lt;/p&gt;
&lt;p&gt;It seems very strange to me that the resource color would be used rather than the category color since the resource colors are displayed in the bottom left of the timeline view, as well as having the resource name in the header of the horizontal cell.&lt;/p&gt;
&lt;p&gt;I am desparate and hopeful for a resolution on this.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Webscheduler Event Color</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Mon, 01 Aug 2011 20:44:29 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;The solution for your specific scenario is not as easy as switching the ResourceColor field with the CategoryColor field.&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 will have this forwarded to WebScheduler development team. I will get back to you as soon as I have any answer for your scenario.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webscheduler Event Color</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Fri, 29 Jul 2011 06:02:20 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;
&lt;p&gt;Thank you very much for your prompt reply.&lt;/p&gt;
&lt;p&gt;Unfortunately your suggestion did not work. When switching the "ResourceColor" to the "Category Color", my color bars in timeline view simply appear as a "ghost white" with no color at all. Also, my resource list on the far left below the calenders all turn to a default black color.&lt;/p&gt;
&lt;p&gt;I have attached a screenshot image to illustrate the effects.&lt;/p&gt;
&lt;p&gt;Please advise......&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Webscheduler Event Color</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Thu, 28 Jul 2011 17:47:35 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;It is the default of WebScheduler to have its event bar colored as the Resource color instead of Category color.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;For your specific scenario, is it possible to switch the &lt;strong&gt;CategoryColorField&lt;/strong&gt; property with the &lt;strong&gt;ResourceColorField&lt;/strong&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;Original:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;ISWebScheduler:WebScheduler ID="WebScheduler1" runat="server" ...&amp;gt;
    ...
    &amp;lt;DataBinding&amp;gt;
        &amp;lt;ResourcesBinding DescriptionField="Description" ResourceColorField="ResourceColor"/&amp;gt;
        ...
        &amp;lt;CategoryBinding CategoryColorField="CategoryColor" CategoryIDField="ID" CategoryNameField="CategoryName"
            DescriptionField="Description" /&amp;gt;
    &amp;lt;/DataBinding&amp;gt;
    ...
&amp;lt;/ISWebScheduler:WebScheduler&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Modified to:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;ISWebScheduler:WebScheduler ID="WebScheduler1" runat="server" ...&amp;gt;
    ...
    &amp;lt;DataBinding&amp;gt;
        &amp;lt;ResourcesBinding DescriptionField="Description" ResourceColorField="CategoryColor"/&amp;gt;
        ...
        &amp;lt;CategoryBinding CategoryColorField="ResourceColor" CategoryIDField="ID" CategoryNameField="CategoryName"
            DescriptionField="Description" /&amp;gt;
    &amp;lt;/DataBinding&amp;gt;
    ...
&amp;lt;/ISWebScheduler:WebScheduler&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Please let us know whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webscheduler Event Color</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-Event-Color/</link><pubDate>Thu, 28 Jul 2011 12:39:13 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Gentlemen,&lt;/p&gt;
&lt;p&gt;I have a very specific issue regarding my application that I am using the webscheduler for, specifically the timeline view mode.&lt;/p&gt;
&lt;p&gt;Webscheduler seems to use the Resource color as the Event color "bar" when designating appointments, and displays the Category color in a tiny upper corner square in the Event color bar.&lt;/p&gt;
&lt;p&gt;However, I must use the CATEGORY COLOR as the Event color bar, NOT the Resource color.&lt;/p&gt;
&lt;p&gt;I know this may soud like a trivial issue but it is a highly critical for my application.&lt;/p&gt;
&lt;p&gt;For example; Resource 1 has color Purple and Category 1 has color Red. If I create an Event with Resource 1 and Category 1, the Event color bar displays as Purple, (for Resource 1), and I desparately need the Event color bar to display as Red, (for Category 1).&lt;/p&gt;
&lt;p&gt;Please tell me do I have any options or workarounds regarding this? &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>