iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
1) How do I load a single specific resource when I select the resource from a webcombo box?
I added a webcombo box to the top of a page that contains only a webscheduler. The webcombo is preloaded with resources. The web scheduler loads all resources and schedules initially but when I select a specific resource from the added webcombo I want the webscheduler to reload with only the specific resource listed in the displayed resource table list and the scheduler should only show the events of the selected resource.
Please note that I don't want any other resources showing in the displayed resource table list other than the one I selected in the added webcombo. In other words I don't want all the other resources showing in the resource table as just unchecked, I don't want them to show at all.
2) I would also like to do the same thing with categories. If I add a webcombo that contains categories I would like the scheduler to show only resources that have events with the selected category.
If you could attach a simple sample of this I would appreciate that greatly.
Thanks.
1) How do I load a single specific resource when I select the resource from a webcombo box?I added a webcombo box to the top of a page that contains only a webscheduler. The webcombo is preloaded with resources. The web scheduler loads all resources and schedules initially but when I select a specific resource from the added webcombo I want the webscheduler to reload with only the specific resource listed in the displayed resource table list and the scheduler should only show the events of the selected resource. Please note that I don't want any other resources showing in the displayed resource table list other than the one I selected in the added webcombo. In other words I don't want all the other resources showing in the resource table as just unchecked, I don't want them to show at all.
I made a simple sample based on the detail information of your scenario. In my simple page, a WebScheduler, WebScheduler1, is added into the page. The WebScheduler and its data source are taken from FirstExperience.aspx reference sample of WebScheduler that available in WebSchedulerSamples project.
A WebCombo, WebCombo1, is added at the top of WebScheduler. The WebCombo is binding to xml file that list down the resources that available in WebScheduler. When a specific resource is selected from WebCombo, OnAfterItemSelect WebCombo client-side event is invoked.
In the OnAfterItemSelect, first we will need to obtain the selected item of WebCombo. Next, uncheck all resources in WebScheduler but the one selected in WebCombo by executing HideResources() method. Last, we need to access the element of the resource row in WebScheduler and iterates through the rows to set its display property to “none”.
For more detail information, please kindly check the attached sample in this post.
2) I would also like to do the same thing with categories. If I add a webcombo that contains categories I would like the scheduler to show only resources that have events with the selected category.If you could attach a simple sample of this I would appreciate that greatly.Thanks.
In order to implement this scenario, you will need to define a select method (of Events table in ISDataSource) that has a parameter where the parameter source is set to WebCombo.
Hope this helps.
I need more time to investigate the possibility and prepare a sample of your scenario.I’ll get back to you as soon as possible.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname