﻿<?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 - Webscheduler dropdown binding</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-dropdown-binding/</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>Webscheduler dropdown binding</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-dropdown-binding/</link><pubDate>Mon, 08 Aug 2011 04:03:48 GMT</pubDate><dc:creator>Riendy</dc:creator><description>&lt;p&gt;Hi Frank,&lt;br /&gt;&lt;br /&gt;Of course you are possible to do that event. But, you are unable to use checkBox control to get the value because checkBox only get 0 or 1 return value. &lt;br /&gt;If you want to use checkbox to return "company 1" until "Company 4", I suggest you to use a session as a parameter, so you have to define each checkbox value if checked or null if unchecked on page load and set each autoPostBack checkBox property to true. &lt;br /&gt;I tried this one and it works well on my end.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Best regards.&lt;br /&gt;Riendy&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Webscheduler dropdown binding</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-dropdown-binding/</link><pubDate>Fri, 05 Aug 2011 13:31:08 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Gentlemen,&lt;/p&gt;
&lt;p&gt;I was able to get this to work with a dropdown list following this post: &lt;a href="http://intersoftpt.com/Community/WebScheduler/can-filter-resource-category-and-event/"&gt;http://intersoftpt.com/Community/WebScheduler/can-filter-resource-category-and-event/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, I would like to know if I can use a checkbox list instead so my users can pick more than one company to show resources for. I have spent all night trying to get this to work. In my checkbox list with same parameters as the dropdown list I select mutiple companies, however the resources only show for the first company selected. For example my check box list is like:&lt;/p&gt;
&lt;p&gt;Company1&lt;/p&gt;
&lt;p&gt;Company2&lt;/p&gt;
&lt;p&gt;Company3&lt;/p&gt;
&lt;p&gt;Company4&lt;/p&gt;
&lt;p&gt;If user checks Company2 and Company4, only Company2 resources show.&lt;/p&gt;
&lt;p&gt;I have setup 6 or so (ID=?), (ID =?), OR (ID=?) OR (ID=?) etc, parameters and defined them in the ISDatasource, and they do display in my checkbox list. However only one "company" resources at a time will display.&lt;/p&gt;
&lt;p&gt;Is this even possible to do? I am using a bound control rather than a session and perhaps that is where I am lost.&lt;/p&gt;
&lt;p&gt;Thank you....&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Webscheduler dropdown binding</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-dropdown-binding/</link><pubDate>Thu, 04 Aug 2011 14:39:02 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Riendy,&lt;/p&gt;
&lt;p&gt;Please disregard my last post. I was able to get this to work.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Webscheduler dropdown binding</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-dropdown-binding/</link><pubDate>Thu, 04 Aug 2011 11:48:14 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Hi Riendy,&lt;/p&gt;
&lt;p&gt;Thank you for your prompt reply. It is greatly appreciated.&lt;/p&gt;
&lt;p&gt;I think I somewhat understand the concept, but in looking at Handy's examples I am not sure we are talking about the same thing. It appears in that scenario they are somehow using the logged in users session to load the desired resources on the webscheduler.&lt;/p&gt;
&lt;p&gt;I am trying to do this through a dropdown. I think the online carrental example is a closer fit:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://live.intersoftpt.com/cs/WebScheduler/CarRental.aspx?noframe=1&amp;amp;path=/WebScheduler/New%20Features%20in%20V3/New%20Reference%20Samples"&gt;http://live.intersoftpt.com/cs/WebScheduler/CarRental.aspx?noframe=1&amp;amp;path=/WebScheduler/New%20Features%20in%20V3/New%20Reference%20Samples&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here you have a "Car Availabilty" where you select the car from a dropdown list similar to what I need. Instead of cars in a dropdown list I have company names in a dropdown list. When the user selects the company name from the dropdown list I only want to show the resources with that companyid.&lt;/p&gt;
&lt;p&gt;I my company database I have 8 companies with companyID 1 through 8. In my resources table there is a field also with companyid on each resource also. My resources table looks something like&lt;/p&gt;
&lt;p&gt;ID   Resource         CompanyID&lt;/p&gt;
&lt;p&gt;1     Resource1       3&lt;/p&gt;
&lt;p&gt;2     Resource2       4&lt;/p&gt;
&lt;p&gt;3     Resource3       5&lt;/p&gt;
&lt;p&gt;4     Resource4       6&lt;/p&gt;
&lt;p&gt;5     Resource5       3&lt;/p&gt;
&lt;p&gt;So if user selects company 3 from dropdown only resource1 and resource5 should display.&lt;/p&gt;
&lt;p&gt;Is this possible?&lt;/p&gt;
&lt;p&gt;I guess where I am lost is I am not sure how to "connect/bind" the companyid in the company dropdown to the companyid in the resources table with a "where" clause in the isdatesource resources table. &lt;/p&gt;
&lt;p&gt;In resources table It would have to be something like:&lt;/p&gt;
&lt;p&gt;where resources.companyid = companydropdown.companyid but this is not a valid sql where statement so that is where I am lost.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Webscheduler dropdown binding</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-dropdown-binding/</link><pubDate>Thu, 04 Aug 2011 06:09:53 GMT</pubDate><dc:creator>Riendy</dc:creator><description>&lt;p&gt;Hi Frank,&lt;br /&gt;&lt;br /&gt;The important thing that you have to do to load/display the resources based on your selected value, is set a parameter in the "resources" query method. Then, the parameter must a specific resources. &lt;/p&gt;&lt;p&gt;After that, you need to set the value to the parameter. Last, you can bind the data into your WebScheduler.&lt;/p&gt;
&lt;p&gt;Our support member whose named Handy have ever discussed it before. Please take a look at this &lt;a href="http://intersoftpt.com/Community/WebScheduler/can-filter-resource-category-and-event/" target="_blank"&gt;thread&lt;/a&gt; to get more information and a simple runable sample.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;br /&gt;Riendy&lt;/p&gt;</description></item><item><title>Webscheduler dropdown binding</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Webscheduler-dropdown-binding/</link><pubDate>Wed, 03 Aug 2011 20:29:32 GMT</pubDate><dc:creator>frankgary</dc:creator><description>&lt;p&gt;Gentlemen,&lt;/p&gt;
&lt;p&gt;I have added a "Company" VS2010 dropdown control to the upper left corner of my webscheduler, (see attached screen shot).&lt;/p&gt;
&lt;p&gt;I have been able to bind this control to both an sql data source as well as an isdatasource. This control basically displays a list of companies in my company table with data text field of Company Name and dataid field of SysCompanyID.&lt;/p&gt;
&lt;p&gt;All of my "resources" in the webscheduler resources table and all of my "appointments" in the webscheduler events table are/have been saved with a SysCompanyID.&lt;/p&gt;
&lt;p&gt;My question is, how can the webscheduler only load/display the resources and only load/display the events based on the company selected in the "Company" VS2010 dropdown control? I have exhausted all of my knowledge in trying to get this to work.&lt;/p&gt;
&lt;p&gt;Can you please help?&lt;/p&gt;
&lt;p&gt;Thanks!!!!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>