﻿<?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 - Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</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>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Wed, 28 Apr 2010 12:13:18 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Srikant,&lt;/p&gt;&lt;p&gt;Please use the code below to hide callout completely.&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function WebScheduler1_OnCallOutShow(controlId, action)
{
	var WebScheduler1 = ISGetObject(controlId);
	var el = WebScheduler1.GetCallOutElement();
	 if (el != null)
		if (el.style.display == "")
		        el.style.display = "none";
	return true;
}&lt;/pre&gt;
&lt;p&gt;To open editing form when clicks on an event, you can use the code below.&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function WebScheduler1_OnEventSelected(controlId, selectedEvent) 
{
	var s = ISGetObject(controlId);
	var eventView = s.SelectedEvent;
	var originalObject = eventView.GetOriginalObject();
	// if standard event
	if (eventView.RecurrenceType == "None") 
        {
		s.EditEvent(eventView, "Event");
	}
	else 
        {
		var o = new WebSchedulerObjectContext();
		o.Event = eventView;
		s.ShowConfirmationForm(o, "EditingForm");
	}
}&lt;/pre&gt;
&lt;p&gt;This should do the trick.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p /&gt;
&lt;p /&gt;</description></item><item><title>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Tue, 27 Apr 2010 02:15:55 GMT</pubDate><dc:creator>srikantweb007</dc:creator><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;
&lt;p&gt;       I can hide the div by this sample of code.  When someone clicks on a empty cell I am able to open the edit form. When someone clicks on an event, I want to open the edit form, &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;can you help on this ?&lt;/p&gt;
&lt;p&gt;How I achive the above functionality i.e. to hide the callout div completely.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Srikant&lt;/p&gt;</description></item><item><title>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Thu, 22 Apr 2010 03:17:10 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;Glad to hear that the&amp;nbsp;sample helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If the sample does helps, could you please kindly&amp;nbsp;"mark as answer"&amp;nbsp;the corresponding post that helps? I'm sure it will helps other community member that has similar problem to find answer quickly and properly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Thu, 22 Apr 2010 02:51:06 GMT</pubDate><dc:creator>gao3251999</dc:creator><description>&lt;p&gt;hi,Yudi!&lt;/p&gt;
&lt;p&gt;thank you ! it help me!&lt;/p&gt;</description></item><item><title>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Thu, 22 Apr 2010 02:28:54 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 enclosed one the test page as attachment that I made based on your scenario description.&lt;br /&gt;Please have the attached sample tested on your and let us know whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Wed, 21 Apr 2010 22:46:15 GMT</pubDate><dc:creator>gao3251999</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;thank you for repling me .can you give me a sample example,thank you !&lt;/p&gt;</description></item><item><title>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Wed, 21 Apr 2010 00:44:10 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;Please allow me to summarize your requirement.&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Able to add events by clicking right button of mouse and select “add event”&lt;/li&gt;&lt;li&gt;Not able to add events by clicking left button of mouse&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;strong&gt;Able To Add Events By Clicking Right Button Of Mouse And Select “Add Event”&lt;/strong&gt;&lt;br /&gt;Right-clicking mouse button to add event can be done by enabling context menu of WebScheduler.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebScheduler:WebScheduler ID="ws1" runat="server" Height="100%" Width="100%" &lt;span style="color: #c00000"&gt;EnableContextMenu="True"
&lt;/span&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;When context menu of WebScheduler is enabled, when users right-click on WebScheduler cell/event, the ContextMenu will appear. Simply choose “Add Event” from context menu in order to add new event.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;strong&gt;Not Able To Add Event By Clicking Left Button Of Mouse&lt;/strong&gt;&lt;br /&gt;By default, left-click on WebScheduler cell/event will show call out. Left-clicking on WebScheduler event will showing call out that contains fewer detail informations of the corresponding event. Left-clicking on WebScheduler cell will showing call out that allows users to add a new event or open Editing Form.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;In order to ‘not allowing’ user to add event by clicking left button of mouse, we’ll need to hide/remove call out when users left-click on WebScheduler cell. We can utilize OnCallOutShow client-side event to hide/remove the call out if user click WebScheduler cell. The snippet code below shows how to do this.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;script type="text/javascript"&amp;gt;
    &amp;lt;!--
    function ws1_OnCallOutShow(controlId, action) {
        var ws1 = ISGetObject(controlId);

        //if clicking on empty cell, hide/remove CallOut
        if (ws1.GetSelectedEvent() == null) {
            var callOutDivElement = document.getElementById("ws1_CSWF");

            callOutDivElement.style.display = "none";
        }

        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;If you have different scenario, please kindly let us know.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Tue, 20 Apr 2010 21:33:51 GMT</pubDate><dc:creator>gao3251999</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thank you for reply,but I want to do that It will show nothing when i click left button of mouse.it will not show  EditingForm or CallOut! How can i do this?&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;</description></item><item><title>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Tue, 20 Apr 2010 10:50:36 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Normally, when you left click on an empty event, it will show you call out. If you want to show editing form, you will need to click detail on CallOut. However, there is a properties to ignore CallOut and will directly show EditingForm. You need to set &lt;i&gt;&lt;b&gt;EmptyCellClickAction="ShowEditingForm"&lt;/b&gt;&lt;/i&gt;. This should do what you are looking for.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Add Event</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Add-Event/</link><pubDate>Tue, 20 Apr 2010 02:04:56 GMT</pubDate><dc:creator>gao3251999</dc:creator><description>&lt;p&gt;hi,all&lt;/p&gt;
&lt;p&gt; I want to know  how can i do this:&lt;/p&gt;
&lt;p&gt;I can add event by clicking right button of mouse and selelct "add event" but i can not add event by  clicking left button of mouse!&lt;/p&gt;
&lt;p&gt;thank you !&lt;/p&gt;</description></item></channel></rss>