| Sub Categories |
Forms Form_Validation |
| TOTAL: 42 Page: 1 of 3 |
|
Build a Custom Self-Expanding MultiSelect
One of the biggest problems when designing screens and forms for surveys and assessments that have a large number of questions is "real estate". I have a healthcare assessment module I'm completing for a project that I've put into a tabbed interface. Each "Tab" represents a section of a very long healthcare assessment, and one of the speciification's requirements is to have a number of multi-select dropdown - type controls on a single tab. The nice thing about a combobox is that it is very co

| Hits: | 74 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Working with Multiple Forms in Visual Basic .NET
Summary: Describes how working with multiple forms has changed from previous editions of Microsoft Visual Basic and illustrates several key techniques, including displaying a second form, changing the appearance of another form, and using a form as a dialog. (8 printed pages). Introduction In Microsoft® Visual Basic® 6.0, if you had a second form (Form2) in your project, then displaying it was as easy as Form2.Show. That code is no longer correct in Visual Basic .NET due to some changes

| Hits: | 28 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Using Forms Authentication in ASP.NET
Many Web sites today behave more like distributed applications than mere content providers. We're all likely familiar with some sort of Web site that has user accounts, be it an eCommerce application like Amazon.com, or a game site where you can log on and play against other Netizens. The process of determining who, exactly, a Web visitor is, is known as authentication. In both classic ASP and ASP.NET, there are a number of ways you can authenticate a user - the simplest is to validate an entere

| Hits: | 61 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
ASP+ Web Forms
he ASP+ Web Forms Page Framework is a scalable NGWS runtime programming model that can be used on the server to dynamically generate web pages. Intended as a logical evolution of ASP (ASP+ provides syntax compatibility with existing pages), the ASP+ Web Forms Framework has been specifically designed to address a number of key deficiencies with the previous model. In particular: * The ability to create and use reusable UI controls that can encapsulate common functionality and reduce the

| Hits: | 58 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Windows Forms Panels: Anchoring
Please make sure that you have read Windows Forms Panels: Part 1 as this example builds on that code and ideas (as well as the previous Windows Forms introduction articles In Part 1 you learned that Panels in Windows Forms applications are much like Panel controls in ASP.NET applications in that they help place information. But one thing you may have noticed is that when you resized your application by making it bigger that the Panel controls did not resize themselves either. If you've eve

| Hits: | 42 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Windows Forms Introduction: Menus
Adding in a menu to your Form is pretty easy using the classes MainMenu and MenuItem. When you create a toolbar menu in your application you create a Main menu and then add in a MenuItem control for each main option. Each MenuItem can add in more menu items to create submenus. Take a look below at our example that creates a menu in our application with one option called "File" which has a submenu with one option for "Close".

| Hits: | 28 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Windows Forms Introduction
In the .NET architecture, Windows Forms allow developers to create rich desktop client applications and system programs, building a bridge between online and offline, allowing business and organizations to use the best of both worlds. Using the same syntax and tools that ASP.NET developers are already used too, Windows Forms allow developers to quickly deploy desktop applications and to incorporate the benefits of rich GUI's within their application solutions. When building Windows Forms a

| Hits: | 33 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Posting to a URI with a Web Client
You can easily post data to a site in your code by creating a new WebClient from the System.Net namespace, and use the method UploadValues to upload a NameValueCollection to the server and return the response as a byte array (which then needs to be decoded).

| Hits: | 38 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Windows Forms Panels: 4: Splitter Control
Please make sure that you have read Windows Forms Panels: Part 1 and Windows Forms Panels: Part 2 and Windows Forms Panels: Part 3 as this example builds on that code and ideas (as well as the previous Windows Forms introduction articles. If you've been following our new Windows Forms tutorials you've learned about the architecture of a Windows Forms application, Controls, Event Handlers, Panels, and about automatic resizing using Anchoring and Docking. Soon we'll be working with more data te

| Hits: | 26 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Windows Forms Panels: Docking
Please make sure that you have read Windows Forms Panels: Part 1 and Windows Forms Panels: Part 2 as this example builds on that code and ideas (as well as the previous Windows Forms introduction articles In Part 2 you learned how to resize controls with their parent container via Anchoring and AnchorStyles. Another way to create dynamic layout is by the process of Docking and using DockStyles. When a control is docked to the edge of its container, it will remain flush against the edge of

| Hits: | 21 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
ASP.NET Web Forms - Introduction
This is a sample chapter from Pure ASP.NET. At the most basic level, an ASP.NET Web form looks remarkably like a regular HTML page. It is a text file that contains markup language that can be edited in a simple text editor such as notepad. However, an ASP.NET Web form has several "distinguishing elements, which are discussed in this chapter: Web forms contain blocks of code that are processed on the server. The first time a Web form is requested, the entire page is compiled. Subsequent

| Hits: | 89 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Using a web form and server controls
In the next series of articles I will show you how different –but yet intuitive- ASP.NET is compared to classic ASP. You will learn to create ASP.NET web forms and server controls. And later on, we will be looking at how to create a simple web service, and how to consume this web service from within another ASP.NET web application. In this article, we will be looking at a very straightforward temperature converter: conversion of degrees Celsius to Fahrenheit and vice versa. No rocket scienc

| Hits: | 18 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Posting an ASP.NET web form to another ASP.NET page
This is an interesting one. The reason I’m writing this article is because I have seen this question (“Why can’t I submit an ASP.NET web form to a different page?”) being asked a ‘zillion’ of times on ASP.NET news groups. I’d like to try and put an end to that. Almost all people asking this, have a very strong background in classic ASP, where posting form information to a different page is very common. In ASP.NET you are not able to do this anymore, and that’s not without a reaso

| Hits: | 20 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Building Basic Mobile Web Forms
developers to do a lot of things with ease. Bind data to HTML Table output (DataGrid, DataList, Repeater), maintain state, and build Mobile Web Forms. Mobile Web Forms are specialized versions of ASP.NET Web Forms, using a selective set of Mobile Controls. The Mobile Controls are devired from standard ASP.NET Server Controls - the Mobile Label control is derived from the ASP.NET Label control for example. This enables the developer to write code with a set of controls that we already have som

| Hits: | 32 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Set the InitialFocus for an ASP.NET WebForm
The PageUtil class has a static method SetInitialFocus(control) which can be used to generate a JavaScript for an ASP.NET page (WebForm), which sets the focus on a (given) control.

| Hits: | 40 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Building a Basic ASP.NET Web Form
ASP.NET introduces a new way of programming web applications. For developers who have written in traditional programming languages, such as Visual Basic or C++, this new style will be very familiar to you. If you are a web developer who has only worked with scripting languages in the past, not to worry, you will pick this up quick. As developers, we are no longer restricted to intermixed HTML and code, nor are we forced to write our pages in a linear, top-down manner. ASP.NET enables code/pre

| Hits: | 42 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Forms authentication in ASP.NET
Many times we use some kind of custom authentication mechanism for our web sites. The most common way to authenticate visitors of your site is by accepting user id and password from then which are then validated against a database table. ASP.NET provides a very easy way to implement such mechanism via forms authentication. Forms based authentication is also referred to as cookie authentication because a cookie is used with each request that tells whether a user is authenticated or not. In case o

| Hits: | 26 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Creating Dialog Boxes using ASP.NET, JavaScript and IE
ASP.NET web forms provide a new programming model that eases many development tasks. However, there is misconception amongst many programmers that one should only use the server side model. In fact, most of the books available today give emphasis on server side programming. This is natural as any book will try to cover the new and exciting features of the technology under consideration. However, many times business requirements call for using traditional things like using JavaScript or using DH

| Hits: | 29 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Passing Values between ASP.NET Web Forms
ASP.NET web forms provide excellent event driven programming model to developers. This does simplifies the overall design of your application but poses some problems of its own. For example, in traditional ASP you can easily pass values from one ASP page to another ASP page using POST. The same thing is not possible in ASP.NET if you want to stick to web form model (i.e. Server side form and control processing.). There are, however, some ways that can be used to overcome this situation. This art

| Hits: | 31 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |
Building A Server Control For Validation
I showed you how to subclass a .NET Label server control in order to add validation functionality. (Click for more) One person who read the article suggested that it would have been better if I had built a server control from scratch to implement this functionality. I thought that the more advanced approach was an idea with merit, so to that reader, this is your long distance dedication. Setup In order to make it easier for me to walk you through code examples on angryCoder, I have implement

| Hits: | 30 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-20 |