.NET news » Search results
Search results for query "form" (46):
Implementing a super-fast, size-constrained generic cache
Export .net MSChart to Excel/PDF Using Report Viewer 2010
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!
Asynchronous Programming: Easier Asynchronous Programming with the New Visual Studio Async CTP
Drawing smooth text and pictures on the extended glass area of your WinForm in Windows Vista
Step by Step Creating UserControl : DataGridView With Paging
Super Context Menu
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.
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.
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.


Syndicate