﻿<?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 - ISDataSource - ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</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>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Wed, 24 Feb 2010 02:05:46 GMT</pubDate><dc:creator>wayhang@elutions.com.my</dc:creator><description>&lt;p&gt;ok that solves the problem.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Mon, 22 Feb 2010 23:38:01 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;WebScheduler will override any onload client side event handler in order to facilitate WebScheduler internal process. You could try using the WebScheduler OnInitialize client side event handler for similar life cycle with the OnLoad event handler. In your case, the OnInitialize event handler would be:&lt;/p&gt;&lt;pre&gt;function wsSchedule_OnInitialize(controlId) {&lt;br /&gt;    var wsSchedule = ISGetObject(controlId);&lt;br /&gt;&lt;br /&gt;    setTimeout(function() {&lt;br /&gt;        RefreshScheduler()&lt;br /&gt;    }, 50);&lt;br /&gt;    &lt;br /&gt;    return true;&lt;br /&gt;}&lt;/pre&gt;&lt;p&gt;The setTimeout is required to achieve the scenario you wanted.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;You are using WebButton to post back the page and by default the PostBackMode of the WebButton is FlyPostBack. In order to refresh the scheduler during button click please use the InvokeScript function in the WebButton ClientAction property. Here is the snippet:&lt;/p&gt;&lt;pre&gt;    Private Sub wbInsert_Clicked(ByVal sender As Object, ByVal e As ISNet.WebUI.WebDesktop.WebButtonClickedEventArgs) Handles wbInsert.Clicked&lt;br /&gt;        Dim strSQL As String&lt;br /&gt;&lt;br /&gt;        Dim dsStaffInfo As DataSet&lt;br /&gt;        Dim dsRecurrenceInfo As DataSet&lt;br /&gt;&lt;br /&gt;        strSQL = "INSERT INTO ttResources (StaffCode, StaffName, ResourceColor) VALUES ('SC02', 'Staff 02', '#00FF')"&lt;br /&gt;        conn.ExecuteCommand(strSQL)&lt;br /&gt;&lt;br /&gt;        strSQL = "SELECT ID, StaffCode, StaffName FROM ttResources"&lt;br /&gt;        dsStaffInfo = conn.ExecuteSelect(strSQL)&lt;br /&gt;&lt;br /&gt;        strSQL = "INSERT INTO ttEvents (StaffID, ActivityCode, ActivityName, RoomID, Location, StartTime, EndTime, ScheduleID, Description) " _&lt;br /&gt;                    &amp;amp; "VALUES ('" &amp;#43; dsStaffInfo.Tables(0).Rows(0).Item("ID").ToString &amp;#43; "', 'INWKA', 'INWKA', 1, 'BC01-F01-LR02', '2010-02-22 08:00:00.000', '2010-02-22 09:00:00.000', 1, 'Resources - Staff 02 (Staff 02) Activity -  (INWKA) Venue - BC01-F01-LR02')"&lt;br /&gt;        conn.ExecuteCommand(strSQL)&lt;br /&gt;&lt;br /&gt;        strSQL = "INSERT INTO ttRecurrenceInfo (StartDate, EndDate, TotalRecurrence, WeekDay, ScheduleID, Mode, RangeMode) " _&lt;br /&gt;                    &amp;amp; "VALUES('2010-01-04 00:00:00.000', '2010-03-31 00:00:00.000', '10', '1', '1', '2', '0')"&lt;br /&gt;        conn.ExecuteCommand(strSQL)&lt;br /&gt;&lt;br /&gt;        strSQL = "SELECT ID FROM ttResources"&lt;br /&gt;        dsRecurrenceInfo = conn.ExecuteSelect(strSQL)&lt;br /&gt;&lt;br /&gt;        strSQL = "INSERT INTO ttRecurringEvents (RecurrenceID, StaffID, ActivityCode, ActivityName, RoomID, Location, StartTime, EndTime, ScheduleID, " _&lt;br /&gt;                    &amp;amp; "Description) " _&lt;br /&gt;                    &amp;amp; "VALUES('" &amp;#43; dsRecurrenceInfo.Tables(0).Rows(0).Item("ID").ToString &amp;#43; "', '" &amp;#43; dsStaffInfo.Tables(0).Rows(0).Item("ID").ToString &amp;#43; "', 'ICSALab1', 'ICSALab1', 2, 'BC01-F01-CL02', '2010-01-04 08:00:00.000', '2010-01-04 09:00:00.000', 1, 'Resources - Staff 02 (Staff 02) Activity - Introduction to Computer Science (L) (ICSALab1) Venue - BC01-F01-CL02') "&lt;br /&gt;        conn.ExecuteCommand(strSQL)&lt;br /&gt;&lt;br /&gt;        &lt;span style="color: rgb(255, 0, 0);"&gt;wbInsert.ClientAction.InvokeScript("RefreshScheduler()"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    End Sub&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Mon, 22 Feb 2010 01:54:01 GMT</pubDate><dc:creator>wayhang@elutions.com.my</dc:creator><description>&lt;p&gt;Attached is the sample to reproduce the issue. Inside the folder, there's CreateTable.sql to create the needed tables.&lt;/p&gt;
&lt;p&gt;There are 2 issues here:&lt;/p&gt;
&lt;p&gt;1) The function is not called during onLoad when there's WebScheduler in the aspx. If the WebScheduler is removed, then the function is called without problem during onLoad.&lt;/p&gt;
&lt;p&gt;2) I'm not able to refresh the WebSchduler after page post back.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Pls advise.&lt;/p&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Thu, 04 Feb 2010 03:56:48 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;In the snippet you provided, you are trying to use a client side function to handle a server side event. As I mentioned before, WebScheduler RefreshAll is a client side function so it should be invoked in the client side event such as the events defined under ClientSideEvents property.&lt;/p&gt;&lt;p&gt;In the previous post you mention:&lt;/p&gt;&lt;blockquote style="padding-left: 10px; margin: 0px 0px 0px 5px; border-left: 1px solid rgb(204, 204, 204);"&gt;On the same page, i have button to insert record into Events and RecurringEvents table. When i click the button and insert record and the page is post back, the content in WebScheduler is not updated accordingly, the WebScheduler still show calendar only without any event. I need to refresh the page manually in order for the WebScheduler to "refresh".&lt;/blockquote&gt;
&lt;p&gt;If the issue occurs after full postback, you could try to invoke the RefreshScheduler function during HTML body OnLoad client side event handler.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;If the suggestion does not solve the issue please send us a sample of the page so we could help you determine the issue.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Wed, 03 Feb 2010 21:16:37 GMT</pubDate><dc:creator>wayhang@elutions.com.my</dc:creator><description>&lt;p&gt;How should i called the function? &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;I have 2 functions defined as below, &lt;span style="font-size: 13px"&gt;wtvActivity_OnNodeCheckedChanged&lt;/span&gt; is called without problem but not RefreshScheduler:&lt;/span&gt;&lt;/p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;
&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;script&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="javascript"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;type&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="text/javascript"&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; wtvActivity_OnNodeCheckedChanged(controlId, node) {&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; WebTreeView1 = ISGetObject(controlId);&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; inputid = document.getElementById(&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"Hidden1"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;).value;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; hidden1 = document.getElementById(inputid);&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; checkedNodes = WebTreeView1.GetCheckedNodes();&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; a = &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; Array();hidden1.value = &lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;""&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; (&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; i = 0; i &amp;lt; checkedNodes.length; i&amp;#43;&amp;#43;) {&lt;p&gt;a[i] = checkedNodes[i].Name;&lt;/p&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; (hidden1.value == &lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;""&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;)&lt;p&gt;{ hidden1.value = a[i]; }&lt;/p&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;else
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;{ hidden1.value = hidden1.value &amp;#43; &lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;","&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &amp;#43; a[i]; }&lt;p&gt;}&lt;/p&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;;&lt;p&gt;}&lt;/p&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; RefreshScheduler() {&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; sched = ISGetObject(&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"wsSchedule"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);&lt;p&gt;sched.RefreshAll();&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;script&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;Below is the code how i called the function:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;ISWebScheduler&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;WebScheduler&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;ID&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="wsSchedule"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;runat&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="server"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;CategoriesDataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="ttCategories"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;DataSourceID&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="ISDSSchedule"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; 
&lt;/span&gt;&lt;/p&gt;
&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;EventsDataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="ttEvents"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;Height&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="600px"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;RecurrenceDataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="ttRecurrenceInfo"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;RecurringEventsDataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="ttRecurringEvents"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;ResourcesDataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="ttResources"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;Width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="800px" &lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;OnDataBinding&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="RefreshScheduler"&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I tested with all other client side events &lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;OnDataBinding&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; / &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;OnDataBound&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; / &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;OnInit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; / &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;OnInsert&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; / &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;OnLoad&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;/ OnPreInitialize&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; / &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;OnPreRender&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; / &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;OnUpdate.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #ff0000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;and i get error:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;BC30456: 'RefreshScheduler' is not a member of 'ASP.schstaffplanner_aspx'.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;Pls advise.&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Wed, 03 Feb 2010 20:25:37 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>As I mentioned before, the RefreshAll is a client side function (Javascript function) so it should be invoke in the client side.&lt;br /&gt;&lt;br /&gt;I have already provided a snippet of the RefreshAll function in my previous post. You will need the WebScheduler object reference and call the RefreshAll function.&lt;br /&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Wed, 03 Feb 2010 03:08:07 GMT</pubDate><dc:creator>wayhang@elutions.com.my</dc:creator><description>&lt;p&gt;The code should be placed in client/server site?&lt;/p&gt;
&lt;p&gt;Can u provide a sample?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Wed, 03 Feb 2010 02:34:44 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Since the original question of this thread has been solved, next time please create a new thread if you have a new question.&lt;/p&gt;&lt;p&gt;WebScheduler have a method to refresh the data programatically using the RefreshAll client side function. Here is the snippet:&lt;/p&gt;&lt;pre&gt;function RefreshScheduler() {&lt;br /&gt;    var sched = ISGetObject("WebScheduler1");&lt;br /&gt;&lt;br /&gt;    sched.RefreshAll();&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Tue, 02 Feb 2010 23:01:10 GMT</pubDate><dc:creator>wayhang@elutions.com.my</dc:creator><description>&lt;p&gt;Hi Glenn,&lt;/p&gt;
&lt;p&gt;Now my  WebScheduler can connect to different database dynamically during run time, but there's another issue.&lt;/p&gt;
&lt;p&gt;Initially there's no record in Events and RecurringEvents table. So when my system load the page with WebScheduler, the WebScheduler will show calendar only as there's no event yet.&lt;/p&gt;
&lt;p&gt;On the same page, i have button to insert record into Events and RecurringEvents table. When i click the button and insert record and the page is post back, the content in WebScheduler is not updated accordingly, the WebScheduler still show calendar only without any event. I need to refresh the page manually in order for the WebScheduler to "refresh".&lt;/p&gt;
&lt;p&gt;How can i make the WebScheduler to "refresh" during post back after the button is clicked?&lt;/p&gt;
&lt;p&gt;Pls advise&lt;/p&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Tue, 02 Feb 2010 01:05:40 GMT</pubDate><dc:creator>wayhang@elutions.com.my</dc:creator><description>&lt;p&gt;ok, it works now!&lt;/p&gt;
&lt;p&gt;Thanks! &lt;img style="border-bottom: medium none; border-left: medium none; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley2.gif" /&gt; &lt;/p&gt;</description></item><item><title>ISDataSource with MS SQL</title><link>http://www.intersoftsolutions.com/Community/ISDataSource/ISDataSource-with-MS-SQL/</link><pubDate>Mon, 04 Jan 2010 04:10:47 GMT</pubDate><dc:creator>wayhang@elutions.com.my</dc:creator><description>&lt;p&gt;i have my application server installed in 192.168.1.1 and my database server (ms sql) in 192.168.1.2.&lt;/p&gt;
&lt;p&gt;From my application, how can ISDataSource connect to database in my database server?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>