textboxes

Errata in Extreme Programming Adventures in C#?

I'm trying to work my way through Ron Jeffries's Extreme Programming Adventures in C#. I am stuck, however, in Chapter 3 because the code does not, and cannot, do what the author says it does. Basically, the text says that I should be able to write some text in a word-wrap enabled text box. If I then move the cursor to an intermediate ...

radiobuttonlist selected value and its validation

hi friends, i have an form in which i have radiolist and set of text boxes and dropdownlist.now when i check an radio some textboxes will be disabled and some text box will be enabled .now i want to validate only the enabled text box and not the disabled one. in the same manner when i check other radiobutton i want to validate the rest o...

adding textboxes at runtime in asp.net

hey... i need to create textboxes dynamically as user specifies the no..actually there are two textboxes in a row..user specifies no of rows needed.. as specified textboxes(two per row) should be added to the form and also i need to read the text entered later....what is the best method?? ...

ASP.NET 3.5 - Making a field readonly/unmodifiable without "disabling" it

I have a web application with a form that has disabled fields in it. It allows a "Save As" function which basically means the settings can be copied into a new configuration (without being modified) and in the new configuration they can be changed to something else. The problem I am running into with this is that since the fields are dis...

How to correctly format text based on currency

Hello, In my application a calculation is performed which display the text to the GUI. The application multiplies a user given amount by a defined number (Say 0.85) to create a total (User types in 2, application works out 2 x 0.85). As the number that is displayed is that of a currency I am trying to correctly format the text to make ...

Synchronizing Multiline Textbox Positions in C#

I have a C# application wherein there are two multiline textboxes side-by-side, each in one side of a split-container. I would like to synchronize their vertical scroll, so that when the user scrolls up or down one of the textboxes, the other textbox scrolls respectively in the same direction. Is there a way to do this? Thanks. ADDIT...

Grouping Controls ASP.NET

Hi All, I have a question. Let's say I had a number of controls which when I click "Add" the same group of controls would display again. For example my grouped controls would look like this: First Name: TEXTBOX Last Name: TEXTBOX ADD When ADD is clicked an additional 2 textboxes appear. So on my page I'd have the following: First ...

Transferring data bettween forms using text boxes and list boxes

Hey guys, I am having trouble effectively transferring data between forms. So I have my entry form. It has one button: private void addBtn_Click(object sender, EventArgs e) { string data = string.Format("{0} \t {1} \t {2} \t {3} \t {4} \t {5}", fnameTxtBox.Text, lnameTxtBox.Text, ce...