textbox

how do you increase the height of an html textbox

Hi, How do you increase the height of an textbox? (along with its font size) ...

Change the position of the textbox validation

The new data validation in silverlight 3 has a red textbox that flies out to the right. This is a problem for me because I have have a textbox to the right that is getting covered by the popup. How can I make this popup move somewhere else? ...

Bringing up numeric keyboard automatically on editing textbox (.NET CF)

This stackoverflow question explains in detail how to bring up/hide the virtual keyboard on getting/losing focus on a control. However in my TextBox, I want the user to type numbers, so it were nice if I could switch the virtual keyboard to numeric input directly. Do you have any proposals how to do that? ...

Dropdown button with "search" Textbox using C#

Hi, I have to add a "Search Box" with a DropDown Button for searching the books. This dropdown button should have an arrow pointing downwards and the search textbox next to it. so, wen i click on dropdown button, i should get few options (like team, personal, e........) If i select Team then the text "Search in Team" should be displayed...

How do you fix the height and width of a winforms label to accept variable length text.

I have created a wizard form and each page of the form will display some help text. I either need a 1.Label control where I can fix the height and width of the label so it doesn't grow to long but rather wraps the text inside my fixed width and height. But a label doesn't have sizing handles and seems to automatically adjust to th...

WPF TextBox Text multiple triggers

Hi! I'm doing a list of contacts for a person. I have an ItemsControl which uses DataTemplates for different types of contact information. E.g. Phone number, Email... etc In case of phone number, I want user to have 4 TextBoxes where he can edit the number. 4 because of the format (he can edit numbers only, the format is generated aut...

Text box validation to enter value only more than zero

I need a asp.net text box validation to enter value which is above zero; Not less than zero or zero ...

Can you add values to an Oracle APEX Shuttle item using a textbox?

The LHS is still dynamically populated with a query, but if it doesn't have a value that you want, then you can just type in a value in the textbox and then add that to the RHS of the shuttle (and update the corresponding tables in the database when you submit). It should also be okay to add that to the LHS when you click on the '<' or '...

How to bind SelectionStart Property of Text Box?

Hello. I use this: <TextBox x:Name="Test"/> <TextBlock Text="{Binding SelectionStart, ElementName=Test}"/> but it always shows 0. How can I treat it? Thank you. ...

How do you pre-set values on the right-hand side of a Shuttle Item in Oracle APEX?

I've looked at numerous forums and tutorials, but it doesn't display the values on the right hand side of the shuttle. However, if I look at the Session values, it seems to set the values properly, it just doesn't show it in the Shuttle Item itself. I've done exactly what I found here: http://dgielis.blogspot.com/2008/01/apex-by-exampl...

How to move the textbox caret to the right.

I would like to change all the characters entered into a textbox to upper case. The code will add the character, but how do I move the caret to the right? private void textBox3_KeyPress(object sender, KeyPressEventArgs e) { textBox3.Text += e.KeyChar.ToString().ToUpper(); e.Handled = true; } ...

MasterPage textboxes are empty when accessed in code

I have this website that has a MasterPage and some content pages. The MasterPage contains a div that I pop up when the user clicks a 'Log In' link that is also located on the MasterPage. This login form has two textboxes, one for user name and one for password, and when the user submits the form they should be authenticated and there u...

Where to find the nifty Textbox with the grayed out instruction?

While logging in to msn-messenger you have these nifty textboxes that show you what to type (username, password) in gray text. Once you start typing it disappears. This surely is not hard to implement using a user control in WPF, but is this control/behaviour already available? ...

Autopostback=True for a Textbox and RequiredFieldValidator next to it. But when submitting form after Posting back by TextChanged event to the Textbox, RequiredFieldValidator doesn't work!?

Hi In my .aspx form I have a textbox (Textbox1) with Autopostback=True. I also set a RequiredFieldValidator (RequiredFieldValidator1) next to it. But when Posting back by TextChanged event of Textbox1, RequiredFieldValidator1 appears but still I can submit my form with nothing into the Textbox1! what's wrong? ...

How to modify a value being roundtripped to an MVC action method?

If I have a simple model like this: Model: public class AnimalModel { public string Species {get;set;} } View: <%= Html.TextBox("Species") %> ActionMethod (POST): AnimalModel model = new AnimalModel(); // update model UpdateModel(model); // updates ViewData.ModeState // correct spelling if (model.Speci...

wpf: Selecting the Text in TextBox with IsReadOnly = true ?

Hi ! I have this TextBox. This TextBox is located in DataTemplate: <DataTemplate x:Key="myTemplate"> <TextBox Text="{Binding Path=FullValue, Mode=TwoWay}" IsEnabled="False" /> ... and I want to allow User to select the whole text inside it (optionally by clicking on the Textbox). And I don't want to use any code behind. ...

Input Mask without Year for date

Could anyone help me in inserting a input mask formula for date in a access form textbox that shouldnot take year which only take date and month in the below format : DD/MM Not in DD/MM/YY Thanks for help in advance ...

Are there any free currency textbox controls for Silverlight?

If not, what's the best way of sanitizing users' input (keyboard and pasting from the clipboard)? ...

In a wpf TextBox can i make characters in a string that exceed a a certain length turn red?

Im using a TextBox control and want the characters to turn red after a certain number of characters to show users they have typed too much. I dont want to truncate as the user might have typed that "really important thought" and if i truncated they would lose it. I have validation on my underlying business model which tells me when the i...

Show helper text on clicking textbox using jquery

I want to display helper text on clicking on the text boxes. eg: If I click a text box it should help us by saying what to type: Enter username here I have tried below given code but the text "Enter username" is fading out, I want the text to be displayed until the focus is changed to another text box. please, suggest some code for thi...