﻿<?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 - Passing default dates into timeline view</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Passing-default-dates-into-timeline-view/</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>Passing default dates into timeline view</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Passing-default-dates-into-timeline-view/</link><pubDate>Fri, 20 Apr 2012 02:49: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;Thank you for taking the time to write down the solution with us. I’m sure that it will be useful for other member who has similar question regarding default date time in TimeLine view 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;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>Passing default dates into timeline view</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Passing-default-dates-into-timeline-view/</link><pubDate>Thu, 19 Apr 2012 14:49:08 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 10pt"&gt;Hi Yudi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt"&gt;On our external formX we have a&amp;nbsp;function that captures the form's StartDateTime:&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 10pt"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;
&lt;p&gt;public&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;void&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; formX_StartDateTime(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #2b91af; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #2b91af; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #2b91af; font-size: 13px"&gt;DateTime&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; StartDateTime&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt;
&lt;p&gt;&lt;span style="font-size: 10pt"&gt;Context.Session[&lt;/span&gt;&lt;span style="font-size: 10pt"&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;"formX_StartDateTime"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt;] = StartDateTime;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt"&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 10pt"&gt;On our same external formX we have a button that loads the page with the webscheduler control with the following function:&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;public&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;void&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt; LoadMyWebschedulerPage(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;DateTime&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-size: 10pt"&gt;? StartDateTime)&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size: 10pt"&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt"&gt;Context.Session[&lt;/span&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;&lt;span style="font-family: consolas; color: #a31515; font-size: 10pt"&gt;"WebScheduler.ViewSettings.SelectedDate"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-size: 10pt"&gt;] = StartDateTime;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;string&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt; url = apppath &amp;#43; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;"Pages/MyWebschedulerPage.aspx"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-size: 10pt"&gt;;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size: 10pt"&gt;Result.ExecuteOnClient(&lt;/span&gt;&lt;span style="font-size: 10pt"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;String&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt;.Format(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;&lt;span style="font-family: consolas; color: #a31515"&gt;"window.open('{0}', '_CbDetail')"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-family: consolas"&gt;&lt;span style="font-size: 10pt"&gt;, url));&lt;/span&gt; &lt;p&gt;&lt;span style="font-size: 10pt"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt"&gt;Let me know if you need more info...........&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt"&gt;Thanks - Frank&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;</description></item><item><title>Passing default dates into timeline view</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Passing-default-dates-into-timeline-view/</link><pubDate>Thu, 19 Apr 2012 06:12:40 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 the good news.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Do you mind to share the solution with us? Does the default date is defined by setting the SelectedDate property of WebSchedulerViewSettings?&lt;/span&gt;&lt;/p&gt;
</description></item><item><title>Passing default dates into timeline view</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Passing-default-dates-into-timeline-view/</link><pubDate>Thu, 19 Apr 2012 00:34:52 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Yudi,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. I was able to get this working by using context sessions.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;</description></item><item><title>Passing default dates into timeline view</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Passing-default-dates-into-timeline-view/</link><pubDate>Mon, 16 Apr 2012 03:06:17 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;Q: I have a asp.net external form that allows the user to select a date. On this form I have a url link that the user can click to open the webscheduler. I am wondering how I can pass the date entered on the external form, so when the user clicks to open the webscheduler, the webscheduler default date is the one the user entered on the 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;A: WebSchedulerViewSettings class has SelectedDate property which specifies the initial WebScheduler’s Date and Time. Please try to set this property on Page_Load server side event of WebScheduler in order to set default date of WebScheduler such as shown in the following snippet code.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;protected void Page_Load(object sender, EventArgs e)
{
    WebScheduler1.ViewSettings.SelectedDate = DateTime.Now;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;To pass data/parameter between pages, you may try to choose one of the following approaches.&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Use Query String;&lt;/li&gt;&lt;li&gt;Use HttpPost;&lt;/li&gt;&lt;li&gt;Use Session State;&lt;/li&gt;&lt;li&gt;Use Public Properties; or&lt;/li&gt;&lt;li&gt;Use Control Info&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Q: I have two webschedulers in my application, one is customized for a "detail" view and one is customized for a "Summary" view. In the summary view, there is a url link to the detail view. If the user is in summary view and selects the link to the detail view, the summary view is closed and the detail view is displayed. My question is, if a user is in summary view on 04/13/2012 calender date for example, and selects to change to detail view, how can I open the detail view defaulted to the same date they selected in summary view?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;A: If both of WebSchedulers located on the same page, please try to set the SelectedDate property of “detail” view WebScheduler and then invoke RefreshAll() method in runtime.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function NavigateToDate()
{
    var WebScheduler1 = ISGetObject("WebScheduler1");
    var myDate = new Date(1995, 11, 17);

    WebScheduler1.ViewSettings.SelectedDate = myDate;
    WebScheduler1.RefreshAll();
            
    return true;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If the WebSchedulers is located in the different page, please refer to the above approach (question #1).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Passing default dates into timeline view</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Passing-default-dates-into-timeline-view/</link><pubDate>Fri, 13 Apr 2012 12:29:46 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Gentlemen,&lt;/p&gt;
&lt;p&gt;I have two requirements where I need to pass the timeline default calendar date and I am unsure if this is a client side event or smething I can pass in the URL, here are my two scenarios:&lt;/p&gt;
&lt;p&gt;1). I have a asp.net external form that allows the user to select a date. On this form I have a url link that the user can click to open the webscheduler. I am wondering how I can pass the date entered on the external form, so when the user clicks to open the webscheduler, the webscheduler default date is the one the user entered on the form.&lt;/p&gt;
&lt;p&gt;2). I have two webschedulers in my application, one is customized for a "detail" view and one is customized for a "Summary" view. In the summary view, there is a url link to the detail view. If the user is in summary view and selects the link to the detail view, the summary view is closed and the detail view is displayed. My question is, if a user is in summary view on 04/13/2012 calender date for example, and selects to change to detail view, how can I open the detail view defaulted to the same date they selected in summary view?&lt;/p&gt;
&lt;p&gt;Are these scenarios client side events or can I somehow pass the dates through a url?&lt;/p&gt;
&lt;p&gt;Please advise and thanks!&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;</description></item></channel></rss>