﻿<?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 - Lounge - Custom button events not firing in chrome browser's webscheduler web callout</title><link>http://www.intersoftsolutions.com/Community/Lounge/Custom-button-events-not-firing-in-chrome-browsers-webscheduler-web-callout/</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>Custom button events not firing in chrome browser's webscheduler web callout</title><link>http://www.intersoftsolutions.com/Community/Lounge/Custom-button-events-not-firing-in-chrome-browsers-webscheduler-web-callout/</link><pubDate>Wed, 27 Aug 2014 00:12:40 GMT</pubDate><dc:creator>yudi</dc:creator><category>Webschedulercallout event</category><category>callout event</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to hear that replacing button element into input element helps.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&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>Custom button events not firing in chrome browser's webscheduler web callout</title><link>http://www.intersoftsolutions.com/Community/Lounge/Custom-button-events-not-firing-in-chrome-browsers-webscheduler-web-callout/</link><pubDate>Thu, 07 Aug 2014 10:20:06 GMT</pubDate><dc:creator>jig214@yahoo.com</dc:creator><category>Webschedulercallout event</category><category>callout event</category><description>It worked perfect!Thanks alot.</description></item><item><title>Custom button events not firing in chrome browser's webscheduler web callout</title><link>http://www.intersoftsolutions.com/Community/Lounge/Custom-button-events-not-firing-in-chrome-browsers-webscheduler-web-callout/</link><pubDate>Thu, 07 Aug 2014 05:24:09 GMT</pubDate><dc:creator>yudi</dc:creator><category>Webschedulercallout event</category><category>callout event</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I managed to get the redirecting problem resolved by replacing/modifying &lt;em&gt;b1&lt;/em&gt; element from button element into input element. Please apply the changes below in OnCallOutInitialize function.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function WebScheduler1_OnCallOutInitialize(controlId)
{
    var WebScheduler1 = ISGetObject(controlId);
    var b1 = document.createElement("input");
    var tr1 = document.createElement("tr");
    var td1 = document.createElement("td");

    b1.id = "Button1";
    b1.type = "button";
    b1.value = "Test";
    b1.attachEvent("onclick", Redirect);
    WebScheduler1.GetCallOutContainerElement().childNodes[0].appendChild(tr1).appendChild(td1).appendChild(b1);;
    WebScheduler1.CallOutSetHeight("135");

    return true;
}&lt;/pre&gt;</description></item><item><title>Custom button events not firing in chrome browser's webscheduler web callout</title><link>http://www.intersoftsolutions.com/Community/Lounge/Custom-button-events-not-firing-in-chrome-browsers-webscheduler-web-callout/</link><pubDate>Wed, 06 Aug 2014 08:55:13 GMT</pubDate><dc:creator>jig214@yahoo.com</dc:creator><category>Webschedulercallout event</category><category>callout event</category><description>&lt;p&gt;Thanks for the Response.&lt;/p&gt;&lt;p&gt;I have used the Redirect method with alert as you shown. The alert functions gets triggered. But i am actually &amp;nbsp; &amp;nbsp;using redirecting to a page instead of alert. I have problem in redirecting to another page.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; function Redirect() {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var temp = window.location.pathname;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt; &amp;nbsp; window.location = "/Patient/Patient_Search.aspx?tempPatientName=" + text;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;This rediricting thing works perfect in IE browser but this redirect function wont even triggers in Chrome if i use the above code. So, alert works but problem is only with Redirecting to another page.&lt;/p&gt;</description></item><item><title>Custom button events not firing in chrome browser's webscheduler web callout</title><link>http://www.intersoftsolutions.com/Community/Lounge/Custom-button-events-not-firing-in-chrome-browsers-webscheduler-web-callout/</link><pubDate>Tue, 05 Aug 2014 23:59:22 GMT</pubDate><dc:creator>yudi</dc:creator><category>Webschedulercallout event</category><category>callout event</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I modified the FirstExperience.aspx sample file of WebScheduler by adding OnCallOutInitialize client-side event; OnCallOutShow client-side event; and a JS function named Redirect().&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The JS function is as follow:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;script&amp;gt;
    function WebScheduler1_OnCallOutInitialize(controlId)
    {
        var WebScheduler1 = ISGetObject(controlId);
        var b1 = document.createElement("Button");
        var tr1 = document.createElement("tr");
        var td1 = document.createElement("td");

        b1.id = "Button1";
        b1.innerText = "Test";
        b1.attachEvent("onclick", Redirect);
        WebScheduler1.GetCallOutContainerElement().childNodes[0].appendChild(tr1).appendChild(td1).appendChild(b1);;
        WebScheduler1.CallOutSetHeight("135");

        return true;
    }

    function WebScheduler1_OnCallOutShow(controlId, action)
    {
        var WebScheduler1 = ISGetObject(controlId);

        return false;
    }

    function Redirect()
    {
        alert("test");

        return false;
    }
&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Save all the changes and view the page in Google Chrome version 36.0.1985.125 m (most recent version of Chrome as of now). However, I was unable to reproduce the reported problem in my local end. The alert (as user click the button) shown without problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I enclosed the modified version of FirstExperience.aspx sample as attachment. You need to copy and replace the existing file in the local WebScheduler sample project in order to view it in browser.&lt;br&gt;Should you find anything that I might miss during my attempt in order to reproduce the reported problem, please feel free to let me know.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;For your information, I'm using WebScheduler 4 build 4 and WebUI.NET Framework 3 build 912 assembly.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Custom button events not firing in chrome browser's webscheduler web callout</title><link>http://www.intersoftsolutions.com/Community/Lounge/Custom-button-events-not-firing-in-chrome-browsers-webscheduler-web-callout/</link><pubDate>Tue, 05 Aug 2014 11:40:50 GMT</pubDate><dc:creator>jig214@yahoo.com</dc:creator><category>Webschedulercallout event</category><category>callout event</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;&lt;p&gt;I have attached the snapshot again. Please help.&lt;/p&gt;</description></item><item><title>Custom button events not firing in chrome browser's webscheduler web callout</title><link>http://www.intersoftsolutions.com/Community/Lounge/Custom-button-events-not-firing-in-chrome-browsers-webscheduler-web-callout/</link><pubDate>Sun, 03 Aug 2014 15:38:00 GMT</pubDate><dc:creator>yudi</dc:creator><category>Webschedulercallout event</category><category>callout event</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The attached image, Error.jpg, is truncated. Could you please kindly re-attach the image so that we can assist you further?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Custom button events not firing in chrome browser's webscheduler web callout</title><link>http://www.intersoftsolutions.com/Community/Lounge/Custom-button-events-not-firing-in-chrome-browsers-webscheduler-web-callout/</link><pubDate>Thu, 31 Jul 2014 10:09:10 GMT</pubDate><dc:creator>jig214@yahoo.com</dc:creator><category>Webschedulercallout event</category><category>callout event</category><description>&lt;p&gt;Hi Intersoft,&lt;/p&gt;&lt;p&gt;I have customized the webscheduler's callout (where we will edit event and delete events). I have added another button as showed in the attachment and wrote the code related to it too.&lt;/p&gt;&lt;p&gt;Button click on that custom button works perfectly in IE 10.0 browser. But the same button click event wont &amp;nbsp; &amp;nbsp; fire in &amp;nbsp;Chrome browser. I have latest chrome browser on my machine.&lt;/p&gt;&lt;p&gt;Is there anything i should do in case of chrome browser. I am using WEBUI studio 2014.&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>