.NET news » Search results
Search results for query "images" (40):
DICOM Image Viewer
Convert a PDF into a series of images using C# and GhostScript
Simple Column Chart Generator
Managing Files with SQL Server 2008's FILESTREAM Feature
Using Microsofts Chart Controls In An ASP.NET Application: Rendering the Chart
This article explores the three different techniques the Microsoft Chart Controls has at its disposal for generating chart images. Well look at how to use each option, enumerate the pros and cons, and discuss when to consider using one option over another.
ASP.NET e-Commerce GridView with Product Comparisons
Using Microsoft's Chart Controls In An ASP.NET Application: Using the Chart Controls with ASP.NET MVC
The Microsoft Chart controls are a series of classes in the System.Web.UI.DataVisualization.Charting
namespace that allow web developers to ability to add charts to their ASP.NET applications. The most pertinent charting-related class is the
Chart class, which contains information about
the chart's appearance, series, charting areas, and so forth. In most of the demos and code samples we've explored thus far, we've used the Chart class
as a Web control, adding the <asp:Chart> declarative markup to our ASP.NET page, setting a few properties and, occasionally, writing a few lines
of code. When used as a Web control, the Chart class both creates the chart (as an image) and then renders an <img> element that points
to the generated chart image.
Using the Chart Web control is a standard practice in a WebForms application, but it is not suggested when building an
ASP.NET MVC application. (While it is possible to add Web controls - including the Chat Web control - to the views of an
ASP.NET MVC application, it is generally frowned upon.) So, if we can't use the Chart Web control in an ASP.NET MVC application, how do we display a chart?
In addition to being used as a Web control, the Chart class can also be used programmatically. It is quite possible to create a new Chart object,
set some properties, plot the data points, and then generate the chart image. In fact, we looked at using this technique in an earlier installment,
Programmatically Generating Chart Images, in which we saw (among other things) how to generate chart
images programmatically and add them as attachments in an email message.
This article explores how to display charts in an ASP.NET MVC application.
Build an ASP.NET Virtual Earth Map Server Control
Building HTML5 Applications: Using HTML5 Canvas for Data Visualization
Using the TreeView Control and a DataList to Create an Online Image Gallery
ASP.NET version 2.0 includes a wide array of Web controls not found in previous versions. One such control is the TreeView, which is ideal for displaying hierarchical data. The TreeView control can be bound to a hierarchical data source such as the XmlDataSource or SiteMapDataSource, or can be constructed programmatically.
One common source of hierarchical data is the web server's file system. In many scenarios, there may be a folder that contains
subfolders and files that the user needs to be able to browse. Using the classes in the System.IO namespace,
we can programmatically populate the TreeView with the directory structure of our website. Then, when the user clicks a folder,
the selected folder's files can be displayed.
In this article we will examine how to create a simple image gallery web page that's a breeze to maintain. The image gallery lacks the bells and whistles found in more complex and feature-rich image galleries, but this one is a cinch to deploy and maintain. We'll be using two Web controls: a TreeView to list the folders and subfolders in which the images reside; and a DataList control that lists each image in the selected folder..


Syndicate