﻿<?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 - invoke dropdownlist selection on page load?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/invoke-dropdownlist-selection-on-page-load/</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>invoke dropdownlist selection on page load?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/invoke-dropdownlist-selection-on-page-load/</link><pubDate>Fri, 27 Apr 2012 03:18:12 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I assumed that you have a complex project. Therefore I ask you to make a simple project/sample that replicate/similar this issue.&lt;br /&gt;I need your simple project to investigate your issue. Example in debug mode, I can understand which  part that you missed.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;/p&gt;</description></item><item><title>invoke dropdownlist selection on page load?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/invoke-dropdownlist-selection-on-page-load/</link><pubDate>Fri, 27 Apr 2012 01:11:37 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Hi Hans,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. &lt;/p&gt;
&lt;p&gt;Could you please be more specific as to what a "simple runnable project" is? Our project is 300&amp;#43; tables and hundreds of pages. Although it would seem obvious what you are asking for, it is an undertaking to "extract out" the necessary files that you need, so knowing exactly what you require would be a great help.&lt;/p&gt;
&lt;p&gt;Please advise and best regards,&lt;/p&gt;
&lt;p&gt;Frank Gary&lt;/p&gt;</description></item><item><title>invoke dropdownlist selection on page load?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/invoke-dropdownlist-selection-on-page-load/</link><pubDate>Fri, 27 Apr 2012 00:11:25 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your information.&lt;br /&gt;Base on your snippet code that you post, there isn’t a problem with your code.&lt;br /&gt;Could you create a simple runnable project that replicates this issue, so that I can investigate the issue from my end?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;/p&gt;</description></item><item><title>invoke dropdownlist selection on page load?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/invoke-dropdownlist-selection-on-page-load/</link><pubDate>Thu, 26 Apr 2012 10:33:48 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Gentlemen,&lt;/p&gt;
&lt;p&gt;I am struggling with a critical implementation issue as follows:&lt;/p&gt;
&lt;p&gt;Background:&lt;/p&gt;
&lt;p&gt;1). I have a SysCompanyDropdownlist1 implemented on my webscheduler control. The dropdownlist is bound to my intersoftdataset into a "SysCompany" table that displays "Companies" in the dropdown list, (based on SysCompanyID).&lt;/p&gt;
&lt;p&gt;2). In my master ISDataSource1 the resources table has a clause - WHERE (SysCompanyID = @Param1) OR (SysCompanyID = @Param2) OR (SysCompanyID = @Param3) OR (SysCompanyID = @Param4) OR (SysCompanyID = @Param5) OR (SysCompanyID = @Param6)&lt;/p&gt;
&lt;p&gt;and these parameters are defined as 1 for Param1, 2 for Param2, 3 for Param3, etc in the ISDataSource1 Resources "Define Parameters" where the parameters source is my SysCompanyDropdownlist1&lt;/p&gt;
&lt;p&gt;3). This is all working. When I pick company 1 from the dropdown list, only company 1 resources and events are displayed, when I pick company 2 from the dropdown list only company 2 resources and events are displayed and etc.&lt;/p&gt;
&lt;p&gt;4). Recently I posted a question/resolution regarding loading the webscheduler with a default date passed externally into the webscheduler and it works perfectly: &lt;a href="http://www.intersoftpt.com/Community/WebScheduler/Passing-default-dates-into-timeline-view/"&gt;http://www.intersoftpt.com/Community/WebScheduler/Passing-default-dates-into-timeline-view/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My Problem:&lt;/p&gt;
&lt;p&gt;1). I am now trying to load the webscheduler with the default SysCompanyID externally similar to passing the dates into the webscheduler as outlined in #4 above.&lt;/p&gt;
&lt;p&gt;2). The externally passed default SysCompanyID is passing into the webscheduler SysCompanyDropdownlist1 perfectly on page load.&lt;/p&gt;
&lt;p&gt;3). The problem is although the default SysCompanyID is passing into the webscheduler SysCompanyDropdownlist1 perfectly on page load, the initial data is showing for ALL companies, like the query never happened on page load. However, if I change the company after the initial page load the query shows the right information. For example:&lt;/p&gt;
&lt;p&gt;Initial Webscheduler Page load shows externally passed syscompany 2 in the SysCompanyDropdownlist1 but shows data for ALL companies. If I then select syscompany 1 in the SysCompanyDropdownlist1 it works and I get only the data for syscompany1, if I then select syscompany2 I get only the data for syscompany2.&lt;/p&gt;
&lt;p&gt;My problem is that even though the syscompanyid is being passed into the webscheduler externally on page load, and shows correctly in the SysCompanyDropdownlist1, on initial page load it is not running the parameterized query at all, until I reinvoke the SysCompanyDropdownlist1 again after page load.&lt;/p&gt;
&lt;p&gt;I am assuming something needs to execute either on page load or in a client side event?&lt;/p&gt;
&lt;p&gt;If I can provide additional information, images, code files etc please let me know. I have attached my webscheduler code behind file for reference.&lt;/p&gt;
&lt;p&gt;I would greatly appreciate assistance on this challenge.&lt;/p&gt;
&lt;p&gt;Thanks - Frank Gary&lt;/p&gt;</description></item></channel></rss>