I have a database on a server and I transfer the data from it to a web site. So I need to build a flash grid on this site and to load the data on it. But the problem is that I do not know how to do it. So my question is how to build a dynamic flash grid wich is fill with data from a database? Is there a way to do it with action script only or I must do it another way?
Thanks in advance.
What you're looking for is the fl.controls.DataGrid component. There's good example code at that link.
Related
I'm using Visual Studio 2008 to create a report and I have an image control that I want to link to a dynamic file name that comes from my database. Unfortunately, they need to be changed before I display the image so I am working with trying to pull it into an Image variable and making changes to it.
I am experimenting with using Custom Code to do the job but I am failing miserably. I am trying to read the image into a Image variable using System.Drawing.Image.FromFile so I can resize it but I am running into Security issues and Uri issues so I'm not sure this is the correct way to go.
My question is, how do I pull an Image into a SSRS Image variable from an external file so I can change the Image before displaying it? Is there a reasonable way to do this?
My requirement is that I shall be able to render an image in ADF page as well as can scale the rendered image, edit it, rotate in as necessary.
Does ORACLE ADF gives me out of the box support for that.
Note: I want to use something like this for image editing
http://jdevadf.oracle.com/adf-richclient-demo/faces/components/hierarchyViewer.jspx#%2Fcomponents%2FrichTextEditor.jspx
There is nothing like that in ADF.
You'll have to write your own component using a lot of Javascript to handle all that functionality.
There is nothing like that in ADF.
BUT you can use one of numerous jQuery plugins to address your needs.
I want to know if we can create reports using EXTJS.
Thnx a lot
If you simply mean that you want to format reporting data received from the server into visual charts or graphs (or tabular / grid format) the answer is yes. Look at the Ext.chart package in the documentation. Other than that, you'd have to provide some details on what you're trying to do.
EDIT: I'm still not 100% clear on what you're asking, but if you already have working grids and you want to display the same data in a different format for reporting, this is certainly possible. However, you would not use the grid directly, you would use the underlying Ext.data.Store and bind it to some other component that can output your report. The most obvious solution that comes to mind would be using a View (previously DataView) to bind your existing store to a custom XTemplate that would generate your report view.
No. You can't create reports with EXTJS. There are tools appropriate for reporting. All of them, server side.
Hope it helps.
You can use a CSS with "media='print'" like this:
< link rel="stylesheet" type="text/css" href="css/print.css" media="print">
This CSS will be used by the browser only when the user are trying to print the page. Then, you can change the entire style of the page to look like a report.
This is a server side job. Here is what I use for generating tabular reports which are based on Grid data: http://xmlgraphics.apache.org/fop/
Also, you can generate a very nice, fully functional Excel spreadsheet from tabular data: http://msdn2.microsoft.com/en-us/lib...ffice.10).aspx
What I have?
I have a web part on which I am displaying a hierarchical diagram picking the information from a List. The diagram is drawn using Silverlight and HTML.
What I want to do?
I want to show Silverlight diagram if Silverlight is installed on the client machine otherwise I want to show HTML diagram.
What problem am I facing?
I want to check if Silverlight is installed or not on the server side and render the appropriate diagram. Basically, I don't want to use JavaScript to identify it and do a unnecessary post back for loading the diagram.
Is it possible to achieve this on the server side?
Thanks for your time!
You could give this a try:
<asp:Silverlight runat="server" ID="SilverlightControl"
Source="~/Control.xap" Windowless="true">
<PluginNotInstalledTemplate>
<!-- here go your HTML fallback content -->
</PluginNotInstalledTemplate>
</asp:Silverlight>
Of course, this can be translated to a <OBJECT> element, if you're not using ASP.NET
Strictly speaking, it isn't possible. You have no access to the client side other than through the HTTP cycle and consequently, you need a client side mechanism of returning this information, i.e. something like JavaScript.
What you could do though, is position the diagram with CSS and position the Silverlight over the top (again using CSS) if it's present. To be honest though, this would have as much overhead as the roundtrip would as you'd always be loading the data twice. If you require Silverlight to display the diagram, then simply make it a requirement that the user must install Silverlight to view it - after all, you'd expect them to load Flash if they wanted to view a Flash image.
I am not sure, but I don't think it is possible. There is nothing in the browser string which identifies silverlight support. Anyway, the additional fetch of the silverlight will not typically be very expensive if you are using HTTP 1.1.
I have a requirement to do the following.
Pass a set of variables from a website to a backend webservice
Apply the variables to a WPF 3D model.
Generate an image and pass back to the website.
Is this possible?
Yes - you'd need to trigger the WPF program remotely, possibly using remoting, and then you'd have to write the resulting image out to a file or stream which could then be rendered back over the pipeline as a byte array. It wouldn't be pretty code, but it is workable.
RenderTargetBitmap do the job.