.NET news » Search results

Search results for query "form" (46):

Implementing a super-fast, size-constrained generic cache

I work with performance-critical software that often requires some form of cache to function efficiently. However, there is also often a need to constrain memory usage, so I set out to create a high-performance cache with a maximum size.

Export .net MSChart to Excel/PDF Using Report Viewer 2010

This article will demonstrate the approach to use the report viewer control to act as a medium to export image,web form in PDF/Excel .This will help us to do away with third party control to achieve our end objectives.
2011-10-03 04:27:00   Source: Export .net MSChart to Excel/PDF Using Report Viewer 2010   Tags: Office

Sorting a Grid of Data in ASP.NET MVC

Last week's article, Displaying a Grid of Data in ASP.NET MVC, showed, step-by-step, how to display a grid of data in an ASP.NET MVC application. Last week's article started with creating a new ASP.NET MVC application in Visual Studio, then added the Northwind database to the project and showed how to use Microsoft's Linq-to-SQL tool to access data from the database. The article then looked at creating a Controller and View for displaying a list of product information (the Model).

This article builds on the demo application created in Displaying a Grid of Data in ASP.NET MVC, enhancing the grid to include bi-directional sorting. If you come from an ASP.NET WebForms background, you know that the GridView control makes implementing sorting as easy as ticking a checkbox. Unfortunately, implementing sorting in ASP.NET MVC involves a bit more work than simply checking a checkbox, but the quantity of work isn't significantly greater and with ASP.NET MVC we have more control over the grid and sorting interface's layout and markup, as well as the mechanism through which sorting is implemented. With the GridView control, sorting is handled through form postbacks with the sorting parameters - what column to sort by and whether to sort in ascending or descending order - being submitted as hidden form fields. In this article we'll use querystring parameters to indicate the sorting parameters, which means a particular sort order can be indexed by search engines, bookmarked, emailed to a colleague, and so on - things that are not possible with the GridView's built-in sorting capabilities.

Like with its predecessor, this article offers step-by-step instructions and includes a complete, working demo available for download at the end of the article. Read on to learn more!

2010-12-21 18:00:00   Source: Sorting a Grid of Data in ASP.NET MVC   Tags: Build

Asynchronous Programming: Easier Asynchronous Programming with the New Visual Studio Async CTP

There are many different techniques for achieving a responsive user interface in a program that performs high-latency operations, but the difficulty factor of doing so is high. The next version of C# and Visual Basic will include a new form of asynchronous control flow that avoids both the dangers of multithreading and the pain of writing callback methods.

Drawing smooth text and pictures on the extended glass area of your WinForm in Windows Vista

This article tells you how to draw text and pictures correctly on your Vista form's extended glass area.

Step by Step Creating UserControl : DataGridView With Paging

This is UserControl of DataGridView with Paging for Windows Form

Super Context Menu

Long time ago, I wondered how Microsoft Access put an Edit control on the context menu! Then I got another idea ... why don't we use any control(s) on the context menu? This will make the user interface easier to use, learn and increase productivity. The good news here is that, you can make it the same way you design a user control or a form using the Visual Studio designer..
2008-06-11 12:12:00   Source: Super Context Menu   Tags: Visual Studio Addins

The Baker’s Dozen: 13 Miscellaneous SQL Server Tips

To use a music analogy, many installments of “The Baker’s Dozen” have been like “concept albums,” where most or all of the tips work towards a big picture. Then there are times where I present a series of random tips that are largely standalone and don’t form a pattern. In this article, I’m going to present 13 random tips for SQL Server and T-SQL programming.

2011-12-20 18:00:00   Source: The Baker’s Dozen: 13 Miscellaneous SQL Server Tips   Tags: Multimedia

Big Data Overview

Enterprises collect a wide variety of data in the form of text, audio, video, geospatial attributes, web, system and device logs, clickstreams, sensor readings, device outputs, link traversal logs from bots, crawlers, etc. In fact, about 90% of the data in the world has been created in the last few years. As hardware gets cheaper, more people have and use more devices and generate huge volumes of data which needs to be stored and analyzed to create value.

2012-06-26 18:00:00   Source: Big Data Overview   Tags: Multimedia

Updating My Online Boggle Solver Using jQuery Templates and WCF

With WebForms, each ASP.NET page's rendered output includes a <form> element that performs a postback to the same page whenever a Button control within the form is clicked, or whenever the user modifies a control whose AutoPostBack property is set to True. This model simplifies web page development, but carries with it some costs - namely, the large amount of data exchanged between the client and the server during a postback. On postback the browser sends the values of all of its form fields (including hidden ones, like view state, which may be quite large) to the server; the server then sends back the entire contents of the web page. While there are some scenarios where this amount of information needs to be exchanged, in many cases the user has performed some action that requires far less information to be exchanged. With a little bit of forethought and code we can have the browser and server exchange much less data, which leads to more responsive web pages and an improved user experience.

Over the past several weeks I've been writing an article series on accessing server-side data from client script. Rather than rely solely on forms and postbacks, many websites use JavaScript code to asynchronously communicate with the server in response to the page loading or some other user action. The server, upon receiving the JavaScript-initiated request, returns just the data needed by the browser, which the browser then seamlessly integrates into the web page. There are a variety of technologies and techniques that can be employed to provide both the needed server- and client-side functionality. Last week's article, Using WCF Services with jQuery and the ASP.NET Ajax Library, explored using the Windows Communication Foundation, or WCF, to serve data from the web server and showed how to consume such a service using both the ASP.NET Ajax Library and jQuery.

In a previous 4Guys article, Creating an Online Boggle Solver, I built an application to find all solutions in a game of Boggle. (Boggle is a word game trademarked by Parker Brothers and Hasbro that involves several players trying to find as many words as they can in a 4x4 grid of letters.) This article takes the lessons learned in Using WCF Services with jQuery and the ASP.NET Ajax Library and uses them to update the user interface for my online Boggle solver, replacing the existing WebForms-based user interface with a more modern and responsive interface. I also used jQuery Templates, a JavaScript-based templating library that is useful for displaying the results from a server-side service.

2010-11-23 18:00:00   Source: Updating My Online Boggle Solver Using jQuery Templates...   Tags: Other