Sample Data Not Appearing During Runtime - wpf

I have a RadGrid with sample data being used. The problem i am facing is that, even after i changed the design time data context mode(that is, changed "d:DataContext" to "DataContext"), i am unable to see the sample data during runtime, though the filter symbol appears in the column headers during runtime. In such a case, when i click the filter symbol, no data is shown in the filter criteria either. What could be causing this issue, and how can it be solved? Thanx!

Depending on how you are managing your sample data, you sample data may not be compiled into your application. If you used Blend to create your sample data, click on the data source gear icon in the Data tab to show "Data source options". Just check "Enable when running application".
If you used Visual Studio, check inside your csproj file and look for the tag DesignTimeOnly. A file in the section will not be compiled into your application and therefore won't be available at run-time. Otherwise it will appear as a normal Page.

I had the same issue and was able to resolve it by unchecking and then re-checking "Enable When Running Application" on my sample data source.

Related

how to specify the data source of a report in a url

If I design a report based on some data source, lets say an spreadsheet from google sheets.
but then I want to reuse this report on a different sheet, can I do this without actually editing the report? Can I specify the source somehow in the URL?
Then all I need to do to reuse the report is upload new sheets to my google drive and then connect them to the report by specifying them in the URL.
Is this possible? Or is there a better way to do it?
(I'm googling, but I cannot find out how to reuse reports without actually manually editing them).
so there does seem to be something called "Custom JSON/CSV/XML" by Supermetrics.
and you seem to be able to specify the url as a parameter somehow. If someone has done this and succeeded/failed, or knows of a walkthrough/tutorial, or a variation on this theme then that would be helpful.
Using default connectors, you can't change the Data Source using parameters.
You may try to create a community connector with a parameter to set the desired resource, but I don't think it will fit your needs or worth the effort (you'll still need to edit the report to change the parameter).
However, when you click to copy/duplicate a report, it prompt you to select new sources for each Data Source in your report. It will copy-then-edit your report anyway, but it is a friendly interface. Maybe you should try this.

How to assign a data source to time range control in Data Studio?

I want to create a time range control to control a time series chart in Data Studio. As it shown in official video by Google Analytics on managing of the data range control element should be a possibility to add a data source(s) - which seems to be obligatory - how should the control element know, what data it should control?
The data source input looks like on the screenshot:
But in "my" Data Studio is this possibility not available - look at screenshot:
Not the tab "Basic", not the input for the data source.
The youtube video is from the year 2016 - the GUI of Data Studio changed some times - but i can still not found, how to add a data source to time range control.
I tested it with Chrome and Firefox with three different accounts - always the same lack of this.
Could somebody point me to the right place where i find adding of data source to time range control?
In your project, select Page on the navigation bar then select Current Page Setting.

Datazen - Live data won't display

To the best of my knowledge, I'm correctly importing my MS-SQL data source in the Control Panel (It says successful in green). I'm also pretty sure I'm importing the data correctly into the Windows 7 Publisher app since I can view the data in the DataView:
but when I go to the Layout View or Run Preview, I just get a blank chart:
It works if I use the default SimulatedTable but once I change the data source to my MS-SQL table, I can't get anything to display, no matter what display element I'm trying to use.
I've tried re-importing the data, using a different MS-SQL table, and re-naming the columns to match the SimulatedTable but it doesn't change the result. Can anyone tell me what I'm doing wrong?
Please try one thing, I am just guessing it might work.
Please select one of the Time Preset buttons and see if you see data in that(where there is blank) chart object.
If yes, then while setting up the time navigator object, select an option in drop down box labeled "Default Time Range Preset"
There are some hacks, please do let me know if run into some weirdness. It might not make sense if i try to explain unless you run into that situation.
Cheers,
I ended up giving up on the Windows 7 version of the application and running a virtual instance of Windows 8.1 instead so I could install the Datazen Publisher app for Windows 8.1. It's FAR less buggy.
Not perfect, though.

JDeveloper deleting ADF resource bundle reference from VO source

I'm using JDeveloper version 11.1.1.7.0 for an ADF project. Whenever I edit a View Object that uses a resource bundle to provide labels via UI hints for things like input text fields and table column headers, the resource bundle reference at the end of the VO XML source gets automatically removed by JDeveloper. This means that every time I want to add a new attribute, change a binding, etc I must go to the History tab and restore the resource bundle reference before running my application. Otherwise, the labels are just displayed as the raw attribute names from the VO (e.g. "employeeName" instead of "Employee Name" from the resource bundle).
This is not just an issue for me, but for everyone on my team. At best, it's a constant annoyance. At worst, bugs get filed because labels are missing and inexperienced developers think they need to redefine every single label, which is a huge waste of time. I've searched on Oracle Support and can't find any patch for this. Google doesn't find anything useful. Does anyone else have this issue? Know what might be causing it and of a way to fix it?
ETA: Even if you've encountered this but don't have a solution, please post a comment stating this. Part of my question is whether this is an issue unique to the project I'm working on, or whether it's a common JDeveloper bug.
ETA: For the record, this is still a problem with version 12.1.3.
This has happened to us and this had caused regression issue in the past for us. We have had to redo the labels everytime we edit the view object. I guess this is a jdeveloper bug.

binding data to control wpf error

I am trying to learn WPF and how to connect and bind a sql database I have so i can return information etc. I have connected the database, the dataset is within solution explorer, the data sources are there for selection and there is a .edmx file within solution explorer.
I am trying to drag a table across from the data sources to the main window in the mainWindow.xaml page. I am getting this error. Can anyone advise on what I have to do.
"Cannot add the control to the design surface or bind to the control because the type wpftryout.CiaranTestDataSet cannot be resolved. Please try to build the project or add necessary assembly references."
As per my knowledge, There is no direct way to include SQL Database object for Display purpose. What you can do is get information from database in one table and then you can bind your information to specific object As mentioned in below link
http://www.codeproject.com/Tips/362436/Data-binding-in-WPF-DataGrid-control
In case u required more help, Please let me know
I had the same problem. After reading this: http://social.msdn.microsoft.com/Forums/en-US/9fc4f835-d6c0-4d04-86c2-779c1f8e0791/unable-to-drag-data-source-to-control-to-bind I created a new project on my C: drive (rather than the network location VS defaulted to) and it suddenly worked fine!

Resources