Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Articles & Samples > C-Sharp > Server Controls > TextBox Control


Search:
What's New - What's Hot
Custom ComboBox  Version: 0.00     Price: $0.00  
Total Hits: 10  |  Today: 0Author: enda.mcmanemy      Rating:  
Read Reviews | Write Review |  Your Rating: 

The attached source code is a C# application that demonstrates how to create a custom ComboBox control in Windows Forms.

Simply run the code, click on the ComboBox drop down and you will see a form like this:...

How to load all colors in a ComboBox using C#  Version: 0.00     Price: $0.00  
Total Hits: 8  |  Today: 0Author: Mahesh Chand      Rating:  
Read Reviews | Write Review |  Your Rating: 

Today, I was working on a Windows application where I need to display listing of all colors in a ComboBox and selection of the color sets the background color of a Form.

In Windows Forms, the Color structure has a public property for each color. We can use System.Reflection to read all colors of a Color structure and load its properties....

How to: Respond to User Selection in a CheckBox Web Server Control  Version: 0.00     Price: $0.00  
Total Hits: 27  |  Today: 1Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

When the user selects a CheckBox control, the control raises an event that you can respond to....

How to: Access Specific Items in a Windows Forms ComboBox, ListBox, or CheckedListBox Control  Version: 0.00     Price: $0.00  
Total Hits: 18  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Accessing specific items in a Windows Forms combo box, list box, or checked list box is an essential task. It enables you to programmatically determine what is in a list, at any given position....

Correct theme support for the .NET CheckBox control  Version: 0.00     Price: $0.00  
Total Hits: 35  |  Today: 0Author: Boris Byk      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article addresses the issue and adds transparency support to the CheckBox control. It makes the control draw in XP Style, when the FlatStyle is set to FlatStyle.System in correct manner. There are some articles on the same topic, for e.g., True Transparency support for the .NET CheckBox control. But these articles advice us take over the drawing of the control. I found out a way to avoid this and use only standard Windows procedure for ComboBox....

AutoComplete TextBox  Version: 0.00     Price: $0.00  
Total Hits: 58  |  Today: 0Author: pfemiani      Rating:  
Read Reviews | Write Review |  Your Rating: 

I was in need of a simple auto-completing textbox for a project I was working on at work when I realized that there were really not a whole lot of good choices for this. Many of them derive from a combo box which will not work properly for a dropdown list that continues to filter out items as you continue to type. This is my first article, so any feedback is welcome....

A numeric textbox with a twist     
Total Hits: 168  |  Today: 0Author: Tony Zackin      Rating:  
Read Reviews | Write Review |  Your Rating: 

For a project I was recently working on I needed to specify a quota size. For production it could always be GB but, for testing purposes, I wanted to use MB or even KB values. That got me thinking about how to enter this kind of information more easily where the magnitude of the number could be specified as part of the number much like the exponent of a floating-point number, only more general. So, I have invented yet another numeric text box but, with an additional twist. This textbox allows a ...

ATLAS AUTO-SUGGEST TEXTBOX     
Total Hits: 253  |  Today: 0Author: AzamSharp      Rating:  
Read Reviews | Write Review |  Your Rating: 

Atlas Project has been introduced by Microsoft which works with the ASP.NET 2.0 framework. Atlas enables your controls to make client side calls and hence save the roundtrip to the server. This also means that by using Atlas you can refresh your page without making a Postback. In this article I will demonstrate that how you can use the AutoCompleteExtender control which ships with the Atlas framework....

Textbox Web Server Control     
Total Hits: 179  |  Today: 0Author: ASPAlliance      Rating:  
Read Reviews | Write Review |  Your Rating: 

We can get inputs from user in variety of ways. One of the way is through textbox. In this session, we will see how to ..

1. Get an input from the user
2. Create a textarea
3. Get passwords as input...

Creating a Text Box Server Control with Color Highlighting     
Total Hits: 49  |  Today: 0Author: Grant Killian      Rating:  
Read Reviews | Write Review |  Your Rating: 

Creating your own controls is a great way to leverage the .NET Framework in your applications. You can extend existing controls with your own properties and behavior, combine controls together into composite controls, and even create your own control from scratch. Furthermore, by using client-side JavaScript with our controls, we can achieve a powerful level of interactivity and sophistication without having to constantly post back to the server. In this article, I'll walk through creating a cus...

Text box to accept only number  Version: 0.00     Price: $0.00  
Total Hits: 315  |  Today: 0Author: Prasanta_Prince      Rating:  
Read Reviews | Write Review |  Your Rating: 

Just paste the Script Section in the Head section and in on key press call the function.
For C#, just paste the following code:...

Total in TextBox in two TextBoxes in C#  Version: 0.00     Price: $0.00  
Total Hits: 12  |  Today: 0Author: vilas gite      Rating:  
Read Reviews | Write Review |  Your Rating: 

How to use Total in TextBox in two TextBoxes in C#....

Quick and Dirty Textbox Trimming  Version: 0.00     Price: $0.00  
Total Hits: 14  |  Today: 0Author: Craigpt      Rating:  
Read Reviews | Write Review |  Your Rating: 

When dealing with textboxes in ASP.NET pages, it is a good idea to trim the data, since spaces are so hard to see. Once a page gets to a decent size, trimming every textbox can easily become a tedious task. The purpose of this sub is to quickly trim every textbox on your webpage, without having to trim them all one by one. This subroutine can be placed in a Module and therefore can be called by any webpage in your project....

CheckBox in C#  Version: 0.00     Price: $0.00  
Total Hits: 8  |  Today: 0Author: Mahesh Chand      Rating:  
Read Reviews | Write Review |  Your Rating: 

A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time. After that, I will continue discussing various properties and methods available for the CheckBox control....

Customizable ComboBox Drop-Down  Version: 0.00     Price: $0.00  
Total Hits: 5  |  Today: 0Author: lhayes00      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article presents an extension of the .NET ComboBox which provides custom drop-downs. The control can automatically add a resizer grip at the bottom of a drop-down....

Developing a feature rich custom TextBox  Version: 0.00     Price: $0.00  
Total Hits: 7  |  Today: 0Author: Bipin Joshi      Rating:  
Read Reviews | Write Review |  Your Rating: 

For most of the software applications user inputs are accepted via TextBoxes. As per your business requirements inputs differ from Alpha, AlphaNumeric, Integers or Decimals. You may need further fine tuning. Lets say you need only Alpha characters entered in the TextBox. Further there are 3 possibilities. The characters can be All Caps , All Small or InitCap....

Windows Ribbon for WinForms, Part 8 – ComboBox  Version: 0.00     Price: $0.00  
Total Hits: 8  |  Today: 0Author: Arik Poznanski      Rating:  
Read Reviews | Write Review |  Your Rating: 

A ribbon ComboBox control is basically the normal ComboBox control that we all love, but with the additional feature of dividing the items into categories. A category is not an item and cannot be selected from the ComboBox. It is only used to organize the items....

HTMLTextBox  Version: 0.00     Price: $0.00  
Total Hits: 31  |  Today: 0Author: Jay Liu      Rating:  
Read Reviews | Write Review |  Your Rating: 

This Rich Text Editor-style control comes from a reference of the "Body Editor" in "New Message" dialog of Outlook Express. As we know, although a RichTextBox control is already provided within .NET Framework by Microsoft to display rich text for users, it still lacks in some real Rich Editing works which are extremely desirable. As a consequence, this control is right for the real editing work....

How to: Access Specific Items in a Windows Forms ComboBox, ListBox, or CheckedListBox Control  Version: 0.00     Price: $0.00  
Total Hits: 24  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Accessing specific items in a Windows Forms combo box, list box, or checked list box is an essential task. It enables you to programmatically determine what is in a list, at any given position....

Walkthrough: Working with the MaskedTextBox Control  Version: 0.00     Price: $0.00  
Total Hits: 26  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Tasks illustrated in this walkthrough include:
* Initializing the MaskedTextBox control
* Using the MaskInputRejected event handler to alert the user when a character does not conform to the mask
* Assigning a type to the ValidatingType property and using the TypeValidationCompleted event handler to alert the user when the value they're attempting to commit is not valid for the type...


1  2  3  4  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net