textbox

Text Change in a textbox

I have a text box that the contents change on page reload, but what I was wondering is how to make it change after a specified amount of time. Is this possible without flash? ...

Capture client side text change event for asp:TextBox

I have a form that contains a TextBox. A pop up window will return a value and put it into the TextBox. when this happens, i need to populate another control. I tried tried "OnChange" but it was not triggered . How this can be achieved? ...

Test if the user typed email format ASP.NET (VB)

Hey, I have a TextBox, and I want to force the user to type an email format in this field like ([email protected]) ? I don't want to use FilteredTextBoxExtender or the RegularExpressionValidator. I want to do it manualy. ...

Print WinForms TextBox with Tab Formatting

I have been working on some code that prints a textbox that lists contact information. When I try to print it, it doesn't print out the tabs that I used to format the text. Here is my code: Private Sub PrintPage(ByVal sender As Object, ByVal ev As PrintPageEventArgs) _ Handles prndoc.PrintPage Dim fnt As Font = resultTextBox.Font ...

How to fix focus/clickability of XUL textboxes?

On a normal webpage <input type='text'/>, in Firefox, you can click anywhere on the element and the browser will "focus" on that element. On a XUL (Firefox extension) <textbox> element however, only clicking on the leftmost part edges of the textbox will focus it; clicking anywhere else on it does nothing. I find this really annoying, ...

How can I make a TextBox in a GridView not fire TextChanged when SelectedIndexChanged is fired?

Pretty much the title says it all. I have a TextBox in a TemplateField in a GridView that is supposed to show a checkmark after its TextChanged event. I also made the GridView row selectable. If I select a row, the entire GridView rebinds and fires the TextChanged event for all TextBoxes in the GridView. This, of course, displays all ...

Conditional validation with jquery

Ok this is driving me crazy. I have a user account page. Where you have the option to change your password. I want a conditional jquery validation that if the user types in a new password in the new password box the box that confirms the password as well as the box that asks for the old password is turned into a required element. here is...

.NET Winforms textbox - how to account for non-standard linebreaks?

I have an app that has a multiline text box on it. This is data that comes from a client application elsewhere. There are different versions of the client app for different platforms, and furthermore these platforms have different default rules about line endings. Thus, the data I want to show in the textbox might have CR+LF line endi...

Accept just numbers on a TextBox ASP.NET

Hello, I have a TextBox & I want to accept just numbers in this TextBox when typing. Thanks. ...

How do I set a textbox's text to bold at run time?

I'm using Windows forms and I have a textbox which I would occassionally like to make the text bold if it is a certain value. How do I change the font characteristics at run time? I see that there is a property called textbox1.Font.Bold but this is a Get only property. ...

Getting information from a text box - Full Tilt Poker.

Full Tilt Poker's GUI has a box of text that keeps reporting on the state the current hand. I wanted to be able to parse that text but do not know how to gain access to it, so if anyone could point me in the proper direction, I would appreciate it greatly. Image with the GUI and text box: http://img143.imageshack.us/img143/6660/ftpbox.j...

TextBox TextChanged event does not fire when Visible = False?

I have a textbox bound to a datasource. The textbox's TextChanged event updates another textbox. The problem is, I do not want the first textbox to show, so I set its Visible property to false. However, now the TextChanged event does not fire! I can work around it by setting Visible=True, Left=-100000 on form load, but I'd like a pro...

How to determine what caused GotFocus event of WPF TextBox - mouse click or TAB key?

How to determine what caused GotFocus event of WPF TextBox - mouse click or TAB key? I need to change border color if focus was set with TAB key and leave border's standart color if focus was set with mouse click. So I need to extract from event args what caused an event, or (better) write trigger to put it into TextBox style. ...

I need masked textbox in asp.net

only numbers must be in that textbox that entries have to be in 100 between 500 TextBox Needed to include 3 Decimal Places i dont want any mistakes while values inserting to database. Do i need to use jQuery or ASP.NET Validation Controls ? if jQuery is useful one then which plugin will i use else for asp.net RegEx Validator which V...

Set textbox to "nothing" in WPF but MV value not updated

I have a user interface where a user can enter a value and that value is updated in the ViewModel (and eventually written back to a database). This works fine if the a value is actually entered. But if you want to clear that value (i.e. set it to nothing) it doesn't seem to work. So for example if it was 'dog' but I clear that text ...

Decent JavaScript mask for floating point numbers

Hello people, I'm developing a system in ASP.NET and I need a textbox mask to handle an input of floating-point numbers. I haven't yet found a javascript mask that would RESPECT the decimal point. I've tried several, including dFilter and "Mask JavaScript API" and none of them could do the job in a swift manner. The numbers I need to d...

Enabling and Disabling Save button on a GWT page

The application I am working on has pages of setup data with lots of textboxes; each page having a save button. I have defined most of the pages as a *.ui.xml file and used the GWT 2.0 UI binding. I would like to add a save button which is disabled onload and is only enabled after a user modifies the data into one of the textboxes. I ...

passing checkbox and textbox values from a view form to a controller action

Hello, I have a view with a form..this form has a textbox and a checkbox in it. i also have a submit button in the form which points to an action in a controller. my question is..how can i pass the values in the textboxes and the checked state of the checkboxes to the controller action? the textboxes and checkboxes are not tied to a ...

WPF TextBox lostfocus as attached property

I have a Grid with many TextBoxes and I want to call NotifyPropertyChanged() method to update some other controls everytime one of these TextBox-es changed the value = lost the focus (I don't want to use PropertyChanged as UpdateSourceTrigger) This is what I can do: <Grid TextBoxBase.TextChanged="My_TextChanged" > ... </Grid> I ne...

Binding data to a textbox , inside a templatefield of a gridview » C# and ASP.NET

How can I bind data to a textbox which is in a templatefield of a gridview ? I want to use ExecuteScalar , get a value and throw it to that textbox . ...