Currently I have a silverlight business application (C# Hosted in ASP.Net on IIS). The database behind the app is setup with a one to many relationship between two particular tables - One Job, Many Images. So for each job I display In my application I have potentially a large number of images to display.
Currently I use a listbox which get populated with the images that are parsed from uri's stored in the database table. Each image has a datetime stamp on it.
What I would like to do would be to display the most recent image as a thumbnail with the ability to click and zoom into it, whilst having all the other images in some sort of condensed scrollbar.
I've spent a lot of time looking round and have seen a huge number of rubbish implementations, either pertaining to be non-business like or just way to over the top. Could anyone suggest some options to me for this particular situation?
Related
Looking to present a batch of images (about 10,000) with multiple characteristics to filters. I wish some of the closest thing PivotViewer Silverlight.
I find no free or paid component that this kind of thing in WPF.
Unable to transform the Silverlight component WPF and I do not think to insert silverlight in a WPF application is a good thing.
Would you have a solution?
Thank you
You can try some of these:
http://jmcspot.com/JMC_Photo_Gallery/Default
https://wpfimagegallery.codeplex.com/
If you use a VirtualizingStackPanel as the container, you can theoretically display immense amounts of data without running out of memory.
Yes, this is certainly a duplicate question, but I wanted to get some fresh takes.
My impression is that Telerik is a much more complete suite, but I'm really really turned off by the responsiveness of their controls. It just seems "clunky" in terms of responsiveness (I have a very fast computer and video card). Scrolling in a grid and transitions chunk, even in their latest demos where they claim to have good performance. I do like that their WPF suite matches their SL one in terms of API.
Infragistics has fewer controls and less theming possibilities, but their controls are very responsive. Scrolling in a grid is fluid, as are their combo menus and all the other controls.
I checked out ComponentOne and their controls seem analogous to Telerik's in terms of the points mentioned above but are a little less "pretty".
Any thoughts from other users of these suites? Basically, what I'm looking for is a suite that will be highly performant and responsive, relatively customizable from a theming standpoint, and have enough functionality to develop a LOB SL application without having to use multiple suites to satisfy the majority of common requirements.
Telerik by far has the slowest (clunky) controls. We've downloaded datagrids from many of the control companies (Infragistics, ComponentOne, Telerik, etc) and found Telerik's to be the slowest as far as loading and refreshing hundreds of thousands to a million rows. I can't speak much for the rest of the controls tho. Testing speed and memory consumption, we found the C1Flexgrid was fastest, followed by Infragistics xamGrid, then Microsofts grid, C1Datagrid and last was Telerik's radGridView.
If you think about this, would you really ever want to load 100's of thousands to 1 million records in a grid or any control for that matter? Well unless you're trying to come up with some marketing fodder?
I don't know of a monitor that could load that many at once to look at. Even if it could, maybe I'm just slow but I can only process them a couple at a time.
What can an average user look at and process. 10 records, maybe 20.
I could see maybe wanting to load a 100 or so and not have to page to get new recors, but thousands or millions? Personally I'm going to require filter capabilities and paging and if I have a developer trying to load 1 million records into a grid, we're going to have to have a sit down because the performance of a grid or any other control is not the issue.
Let's look at a multi billion $ company who has a site and it's sole purpose is to return data to a users. I'm referring to Google. Do a search and you get back around 10 records. I just did a search and got 21,400,00 results. If I don't find what I'm looking for in the first page or two (20 records), I know I didn't filter good enough. I'm not not sifting through a million records.
So that puts your performance back to your logic of retrieving records and giving your users the correct ability to filter down the data they really need at the time.
How fast one grid shows 1.5 million records seems like fodder for "bench racing" and who cares if it's sluggish scrolling because why pull back that many records to start with?
I apologize if I'm missing the point and you're just having fun with bench racing. But I read you are talking about real world, LOB applications and if that's the case then we need to be realistic about the scenarios.
We use the Telerik grid and it performs just fine for real world LOB app. Again though the users we write for can't look at or process 1.5 millions at once nor would they care too.
Also as you're finding out in this thread their support is second to none and I'll take that anyday from a any company we buy a these types of products from over whether they can load a million records in a grid or not. Telerik, Infragistics or whoever.
For anybody serious about real world scenarios and trying to find a quality suite, the first thing to realize is who's on this thread trying to answer questions about their products.
Please have a look at the following demo which binds 1.5 million rows to a grid with sorting and filtering enabled:
http://labs.infragistics.com/silverlight/lobsamples/2010.3/#/Samples/Grid/Performance/GridLargeResultSet
The "Virtual Collection" is another performance feature:
http://labs.infragistics.com/silverlight/lobsamples/2010.3/#/Samples/VirtualCollection/Scrolling/xamGridScrolling
Disclaimer: I am a Technical Evangelist with Infragistics
I suggest you to check the Performance section in our demos for more info about how the grid will perform with large data and/or real-time updates. Here are several examples:
http://demos.telerik.com/silverlight/#GridView/Performance
http://demos.telerik.com/silverlight/#GridView/UIVirtualization
http://demos.telerik.com/silverlight/#GridView/RealTimeUpdate
http://demos.telerik.com/silverlight/#DataVirtualization/FirstLook
I come from mainly a web development background (ASP.NET, ASP.NET MVC, XHTML, CSS etc) but have been tasked with creating/designing a Silverlight application. The application is utilising Bing Maps control for Silverlight, this will be contained in a user control and will be the 'main' screen in the system.
There will be numerous other user controls on the form that will be used to choose/filter/sort/order the data on the map. I think of it like Visual Studio: the Bing Maps will be like the code editor window and the other controls will be like Solutions Explorer, Find Results etc. (although a lot less of them!)
I have read up and I'm comfortable with the data side (RIA-Services) of the application. I've (kinda) got my head around databinding and using a view model to present data and keep the code behind file lite.
What I do need some help on is UI design/navigation framework, specifically 2 aspects:
How do I best implement a fluid design so that the various user controls which filter the map data can be resized/pinned/unpinned (for example, like the Solution Explorer in VS)? I made a test using a Grid with a GridSplitter control, is this the best way? Would it be best to create a Grid/Gridsplitter with Navigation Frames inside the grid to load the content?
Since I have multiple user controls that basically use the same set of data, should I set the dataContext at the highest possible level (e.g. if using a grid with multiple frames, at the Grid level?).
Any help, tips, links etc. will be very much appreciated!
Microsoft has created a great community site for helping people get started with both design and Silverlight here: http://www.microsoft.com/design/toolbox/
It may be far more than what you need for your current project, but it definitely will give you the training you need to master Design with Silverlight.
I am breaking up my project in small sections and one of the sections involves loading a grid with possibily lots of records (could be up to 1000s of records in the database).
Ideally I would like some sort of mechanism where as the users scrolls the grid, more data is retrieved.
I have read that certain controls (datapager with RIA) do this but I would like to know how I could implement this myself or do something similiar?
I was thinking about first loading 50 records at a time and when the user gets to scroll near the 50th record, then get another 50 as a start and so on. Not sure how I do this but this does not feel right or whether I should load ids of records in the grid and then get each row to load itself via an async thread but then I am hitting my database for each record?
Thanks
JD.
Sounds like you are describing data virtulization. Xceed seems to be working on a commercial control with this capability but to date have not realeased anything(see Xceed DataGrid for Silverlight Tech Preview! ). For some ideas from the WPF world on doing this you can check out:
Data virtualization
How can I improve on existing WPF data virtualization solutions?
I have just published a couple of articles with some sample code describing how to do stealth paging/data virtualization in silverlight without using any third-party components.
Read the introductory post to find out about the sample, and then follow up with Digging into VirtualCollection.
I have a WinForm app that displays results in a Gridview control. If a user right mouse clicks on a row, he can then, from a popup menu, select a command to perform on the row much like windows File Explorer.
But now I want to be able to give the user the ability to construct a filter so that he can control which rows are displayed in the grid w/o effecting the functionality of the application. I would also like the user to be able to select the columns/fields that he sees in the grid.
For the basis of this question, let's assume that the data displayed in grid comes from a single table.
business Objects' Web Intelligence and Desktop Intelligence applications give me very flexible and powerful reporting capabilities, but I want to integrate this capability into my WinForm application.
Does Business Objects, or maybe Crystal Reports provide this sort of functionality? I can construct my own query builder but I'd rather not reinvent sliced bread.
I like developerexpres xtragrid.
Its has filtering, column customizing etc.
If you want pivottables/olap like tables they have XtraPivotgrid
Usually the filtering is clientside but they have the possibilitie to generate serverside queries..