﻿<?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 - WebDesktop - webnotification event based</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webnotification-event-based/</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>webnotification event based</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webnotification-event-based/</link><pubDate>Mon, 07 Jun 2010 10:55:15 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Ca,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Yes, that is not the right way in order to notify a WebNotification from client side using java script. First, we will need to create the notification object that contains required properties. If we are notifying the WebNotification from client side, the object is not available if it does not come from server side.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Here is the snippet on how to create a simple object and show the Notification:&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&lt;span style="font-size: 9pt; "&gt;   function Button1_onclick() {
     var WebNotify = ISGetObject("WebNotification1");
     var myNotification = WebNotify;
     myNotification.ContentText = "This notification is sent from button click. Check it out!";
     myNotification.CaptionText = "Vista Style Notification";
     WebNotify.Notify(myNotification);
   }&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;I hope it can help. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>webnotification event based</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webnotification-event-based/</link><pubDate>Mon, 07 Jun 2010 07:36:35 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;thanks for the reply,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;in the server side i can able to activate webnotification using the line of code&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;WebNotification1.Notify("This notification is sent from Page_Load. Check it out!",&lt;br /&gt;   "", "Vista Style Notification");&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;but want to do this from client side using javascript. the below code not working for me&lt;/p&gt;&lt;pre&gt; var webnoti= ISGetObject("WebNotification1");&lt;br /&gt; webnoti.Notify("This notification is sent from button click. Check it out!","", "Vista Style Notification");&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>webnotification event based</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webnotification-event-based/</link><pubDate>Sun, 06 Jun 2010 23:43:23 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Our WebNotification is interval based not event based. However, based WebFormType.aspx and WebServiceType.aspx reference sample, we could provide a workaround for your scenario.&lt;/p&gt;&lt;p&gt;In the sample, the notification will only be displayed if this line is executed:&lt;/p&gt;&lt;pre&gt;collection.Notifications = new WebNotificationEvent[] { evnt };&lt;/pre&gt;
&lt;p&gt;An event object is added to the collection, in your case you will need to add a conditional block so the event will only be added if there is a difference in Grid row count. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>webnotification event based</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/webnotification-event-based/</link><pubDate>Sun, 06 Jun 2010 08:54:13 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;i want to activate webnotification on the completion of some event.  example &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;suppose i have one webgrid which refreshes every minutes automatically. and here i want to activate webnotification if the grid have any new rows . If i can find the difference in the row count , how can i notify user using webnotification.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;In your live example all the webnotification is under time intervel, not event based.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&lt;/p&gt;
&lt;p&gt;ca&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>