How to bind data from service in Kendo Scheduler from local server - angularjs

I'm using kendo UI scheduler in my application to make various reservation for different rooms. I'm able to bind the data to the scheduler on the init function.
The next requirement is when I click a skip button it skips a particular number of days and the same API is called retrieving different set of data for that date range.
I'm getting this data in my 'vm' object but the data is not showing up in the scheduler. When I asked the Telerik support the asked me to implement setDataSource() but it shows error in my application
Example for binding data
Example shown from telerik

Related

Reading and updating data from outside the widget

Is it possible to first request the data of some widget, and then update the data or add new ones?
Example: Product card widget. There are several of them on the page. I go to the admin panel and by pressing the button the data in all widgets is updated based on those received from other sources (API of a third-party site). In short, the synchronization of data in some widgets based on some data received from another site.
Whatever the manager manually checks, does not waste time changing prices, the availability of balances based on data from a friendly site, from where I get the data.
How can one read widget data on some page via PHP?

SSRS: Refresh one dataset not the entire report

I have added multiple charts on one report and each one is dependent on other one. I have used action->Go To Report to refresh another chart on click of the current chart. But the issue is that its refreshing all the charts/datasets on the current report. I just want to refresh one chart and preserve the value/data of others.
Sorry Rishi, but this is not possible with a simple SSRS dashboard, just using the SSRS designer.
There are a few ways to achieve this result with a lot of effort, but each one is essentially coding a master webpage that displays multiple SSRS reports in separate containers on the same page. Then you use server-side ASPX code, or client-side javascript code to interact with the SSRS apis and pass parameters and reload the report(s) that you wish.
Here is one demo site that using javascript on a SharePoint, PerformancePoint Dashboard to achieve the effect.

Application module differs from Data Control Panel

I am using JDeveloper 12c (version 12.1.3) and am encountering strange behaviour in 2 separate applications. In both cases the list of items in the application module is not reflected in the Data Controls palette in Jdeveloper.
In 1 project, while the application module VO displays correctly, some items in the corresponding Data Control displays twice. It is also displayed this way in the page's bindings. For example if the hierarchy is Department -> Employee in the app module, Employee shows up twice under Department in the Data Control panel.
In the 2nd project, the Data Control panel displays more items than is configured in the application module. For instance, in the Data Control panel, the listing shows Employee and Activities under Department while the Application Module only has Department -> Employee set up. Activities is a legitimate child of Department but for some reason has disappeared from the Application Module.
Both these examples were simplified - there are nested and master-detail hierarchies in these applications. Nevertheless, is there any way to synchronise the Application Module and the Data Controls panel? Did a file get corrupted? How can I resolve this problem?
One note is that the data control panel will only show what is in the AM data model - which might not be all the VOs and links you have in your project.
It might be worth going into the am.xml file to check if there are duplicates in there.
Then verify that the datacontrols.dcx file points to the right AM file.

Load Testing in VS 2010

I am performing a webtest containing 3 pages once of which is a Silverlight page and a Controller page (every page is invoked from controller page and again the control is given back to Controller page).
When the 1st link id clicked it generates one ID that has to be carried forward in every transaction till the completion of the transaction.
The 1st page is a Silverlight page it interacts thorough WCF services to do the transaction.while submitting A request through Silver light the WCF service generates a ID but since the data from the service is returned in XML form, the entire output of the wcfservice if treated as a string data of which is hardcoded which is found at the time of recording.
So, After coming back from the 1st page (silverlight) to the Controller page it is always coming with the same ID which is stored as a string in the service in the recorded test. Since I am not getting the PROPER ID I am not able to move forward to other pages.
Actually, according to me system is not detecting the data returned from a WCF web service as a dynamic one and instead treating it as a hardcoded string.
How to resolve it, please help.
Some errors of Load test are written below:
Extraction Rule Error ExtractValues event 139 No hidden fields were found in the response.
Exception WebTestException 84 There is no context parameter with the name '$HIDDEN1.ConfiguratorTracker$hdnWorkFlowGuid' in the WebTestContext
Make sure you've created an Extraction Rule that is based on the Text Response and not a hidden field. You might want to take a look at a RegEx Extraction Rule.

Multiple calls to data service from SL3?

I have an SL3 that makes asynchronous calls to a data service. Basically, there is a treeview that is bound to a collection of objects. The idea is that as a user selects a specific treeviewitem, a call is made to the data service, with a parameter specific to the selected treeviewitem being passed to the corresponding web method in the data service. The data service returns data back to the SL3 client, and the client presents the data to the user.
This works well. The problem is that when users start to navigate through the treeview using the arrow keys on their keyboard, they could press the down arrow key, for example, 10 times, and 10 calls will be made to the data service, and then each of the 10 items will be displayed to the user momentarily, until finishing with the data for the most recently selected treeview item.
So - onto the question. How can I put in some form of delay, to allow someone to navigate quickly through a treeview, then, once then stop at a certain treeviewitem, a call is made to the data service?
Thanks for any suggestions.
Chris
use Rx for silverlight
As suggested by funwithcoding, you could try using the Reactive Extensions for .Net (Rx), I've not used it myself but from what I hear it would do what you're after.
However if you don't feel like you want to / have time to learn Rx etc. maybe look at using a DispatcherTimer to create a slight delay in you Treeview selected event, before you call the service to retrieve the data.

Resources