.NET news » Search results

Search results for query "form" (46):

Scaling and Hit-Testing in Ink Applications

In addition to text recognition and similar capabilities, Ink can also be useful for image annotation and markup, such as in medical and insurance applications, where marking up images can be a valuable and critical form of input.
2006-02-07 06:31:50   Source: Scaling and Hit-Testing in Ink Applications   Tags: Tablet PC Examples

Determine Your ASP.NET Page's View State Size

The ASP.NET WebForms model aims to simplify web development by blurring the line between the client and the server. In short, WebForms allow the page developer to set aside the fact that the browser and the web server are temporally, physically, and logically disconnected. The page developer can create server-side event handlers that execute in response to a client-side action (like clicking a button). He can make server-side changes to properties of Web controls on the page and need not worry about reinstating those properties on the subsequent postback. One of the essential ingredients for performing this magic is view state.

View state represents the state of an ASP.NET web page that is to be remembered across postbacks. On each page visit, an ASP.NET web page automatically constructs this state information and stores it to a hidden form field on the page named __VIEWSTATE. When the form is submitted, the browser returns this hidden form field to the server; the ASP.NET page then parses the view state information to reconstruct the state from the previous page visit. This entire process happens automatically behind the scenes and is, in part, what makes ASP.NET web development so accessible.

Unfortunately, there is no such thing as a free lunch, and view state is no exception. The presence of view state adds to the size of the page, thereby resulting in larger page sizes that can negatively effect the user experience. What's more, certain controls - such as DropDownLists and GridViews - can significantly add to the heft of a page's view state. It's a good practice for WebForm developers to keep an eye on their pages' view state sizes to ensure an optimal user experience. This article two ways to programmatically determine a page's view state size and to provide a warning should the view state size exceed some specified threshold.

2010-09-14 19:00:00   Source: Determine Your ASP.NET Page's View State Size   Tags: Components

AJAX-style Asynchronous Progress Dialog for WinForms

A base class for adding a rich asynchronous progress animation to any Form

Tile Editor Control

A control to edit maps or small pictures in tile form.
2008-05-29 13:58:00   Source: Tile Editor Control   Tags: Graphics

Introduction to Object Oriented Programming Concepts (OOP) and More

This article helps to understand the OOP concepts focusing on .Net/ C#. This is written in the form of asking questions and writing answers to them, making it easy to understand.
2011-01-26 02:36:00   Source: Introduction to Object Oriented Programming Concepts...   Tags: C#

Silverlight: Harnessing the Power of the Dynamics CRM 4.0 API from Silverlight 4

Building Silverlight applications that can interact directly with Microsoft Dynamics CRM 4.0 can prove challenging, but here’s a little help in the form of an in-depth walkthrough on how to do it right.

Accessing Server-Side Data from Client Script (Part 1)

When building a web application, we must decide how and when the browser will communicate with the web server. The ASP.NET WebForms model greatly simplifies web development by providing a straightforward mechanism for exchanging data between the browser and the server. 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. On postback, the server sends the entire contents of the web page back to the browser, which then displays this new content. With WebForms we don't need to spend much time or effort thinking about how or when the browser will communicate with the server or how that returned information will be processed by the browser. It just works.

While this approach certainly works and has its advantages, it's not without its drawbacks. The primary concern with postback forms is that they require a large amount of information to be exchanged between the browser and the server. Specifically, the browser sends back all of its form fields (including hidden ones, like view state, which may be quite large) and then the server sends back the entire contents of the web page. Granted, there are scenarios where this large quantity of data needs to be exchanged, but in many cases we can use techniques that exchange much less information. However, these techniques necessitate spending more time and effort thinking about how and when to have the browser communicate with the server and intelligently deciding on what information needs to be exchanged.

This article, the first in a multi-part series, examines different techniques for accessing server-side data from a browser using client-side script. Throughout this series we will explore alternative ways to expose data on the server so that it can be accessed from the browser using script; we will also examine various tools for communicating with the server from JavaScript, including jQuery and the ASP.NET AJAX library.

2010-10-19 19:00:00   Source: Accessing Server-Side Data from Client Script (Part 1)   Tags: Components

Interoperating with Unmanaged Code - PInvoke

Explains how to call WIN APIs and DLLs (unmanaged code) form within the .NET using the Platform Invoke (PInvoke) technique.
2007-01-22 11:46:59   Source: Interoperating with Unmanaged Code - PInvoke   Tags: Examples

ExpTreeLib Version 3 - Explorer-like Navigation and Operation for your Forms

A Class Library for building Forms with a folder navigation TreeView and form specific ListViews that can be tailored for your application and behave like Windows Explorer. Full documentation.
2012-07-17 07:39:00   Source: ExpTreeLib Version 3 - Explorer-like Navigation and...   Tags: Components

A BLOB on a DataGridView column (with Command Button column, XML, and layering)

This is a working example of a BLOB column on a DataGridView for a Windows Form using C++/CLI where data is drawn from an XML document.
2011-08-17 12:59:00   Source: A BLOB on a DataGridView column (with Command Button...   Tags: Examples