Hi,
TextBox is supposed to show masked dollar amount for certain access privileges. I created a converter class(inheriting from IValueConverter) to handle masking by implementing the convert method.
public object Convert(object value, Type targetType, object parameter,
CultureInfo culture)
The third parameter is p...
How does one change already appended or entered lines on the RichTextBox control?
I want to programmaticly insert a Timestamp in front of each line of input. TextBox1.Lines[] does not allow changes. I attempted to set my own array to Lines[] but didn't seems to work.
One thinks this is possible.
Thanks
DJK
...
I have a custom control "FieldGroup" which contains an asp:TextBox and some other functionality. The asp:TextBox is exposed through a public property "TextBox".
On the page that uses my FieldGroup I am having a password entry which means I have two of them and I want to use a CompareValidator to confirm that the values are the same. I c...
I would like to inquire about the issue of dijit DateTextBox, When a DateTextBox is the first control in the page, the popup control is no longer shown since the toolkit probably waits for onfocus event to show the popup instead of the onclick.
Is there anyway to make the first date textbox control to show the popup when the mouse is pl...
I would like to update a text field instantly when typing in a GWT TextBox. My problem is that ValueChangeEvent and ChangeEvent handlers only fire when the TextBox loses focus. I thought about using the KeyPressEvent but then nothing would happen when performing a copy paste with the mouse.
What's the simplest way to do that ?
...
I saw this implemented somewhere but basically below I'm using the textbox HTMLHelper to draw a textbox with the id myID and default text 'text_goes_here'. I want to also add a class to thiis helper, i saw somewhere it implemented with new {@class =''} as a third parameter creating an object but im not sure exactly how its wrote
<%= Ht...
We want to use the calendar control to fill it with some text for each day, we tried two methods:
Defining all the textboxes (one for each day) statically in desing mode and moving them (e.cell.Controls.Add(tbDay1)) to each day cell on the OnDayRender event. But there is some problem with viewstate as the textboxes appear 2 times (the ...
I have the following "line" in my web page
<div style="width:100%">
"Some Text" <DropDown> "Some more text" <TextBox> <Button> <Button>
</div>
The DropDown control I don't really have control over the width, as it sizes to fit whatever the longest option value is. The Buttons are fixed width. How can I get the TextBox to fill all avai...
is there any jquery plugin which provides an dropdown-textbox functionality?
something similar to http://lab.anotherdan.com/js/textdropdownlist/
In this example he is making use of ul and li items.. but can the same be done for <options>?
i am not sure if what i am asking is even possible. so any suggestions regarding this would be much...
I have found a similar question to mine in http://stackoverflow.com/questions/97459/automatically-select-all-text-on-focus-in-winforms-textbox
Now i am trying to modify or make it some more different by making it general. I want to apply same action to all the textboxes in form without write code for each one... how many i dun know. As ...
$(document).ready(function() {
$('#text').live('change', function() {
alert('hello');
});
$('#button').live('click', function() {
$('#text').val('some text');
});
});
<div>
<input type="button" id="button" value="Click Me" />
<input type="text" id="tex...
When I select an item on my Listbox, a Textbox is filled with the selected text for editing. How can I get the cursor to focus on the Textbox text so I don't have to click on it with my mouse before editing?
...
I'm trying to save the contents of a textbox to a text file using Visual C#. I use the following code:
private void savelog_Click(object sender, EventArgs e)
{
if (folderBrowserDialog3save.ShowDialog() == DialogResult.OK)
{
// create a writer and open the file
TextWriter tw = new StreamWriter(...
I have multiple text boxes on a silverlight page. How can I make one of them active so that I will not have to click it to be able to type into it.
...
How to improve control template for custom numericupdown?
<Style TargetType="{x:Type Controls:FloatTextBoxPicker}" BasedOn="{StaticResource {x:Type TextBox}}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Controls:FloatTextBoxPicker}">
<DockPanel LastChildFill="True">
...
I'm writing a custom TextBox that upon gaining focus changes its border style.
As adding a border causes the control to overlap with those neighbouring it, I temporarily bring the text box to the front of the dialog (using textBox.BringToFront()).
However, once editing is complete and focus is lost, I would like to send the control bac...
I am creating a new application in .NET 4 and the TextBoxes are way too slow, I haven't applied any Styles, Bindings etc. just plain TextBox.
I tried to create a new project with a TextBox in Visual Studio 2008 and the TextBox works good.
Note: The problem only occurs in debug, when I run without debugging (^F5) it works good in VS2010...
Hi
I would like to include license-check into my NSIS installer. Simple Text field and button would be enough for me, but I didn't find any example how to include Text field (text box) into page and how to read its value.
Will you help me with it, please?
...
Hello,
I am trying to fetch the name of the textbox my cursor is currently in or over in a Google chrome browser window. Is this possible? And if so, how would I go about doing it.
Thanks!
...
i want to display text from textfile in text box . how can i do this .. in C#
Actually i m making text to speech converter in C# .. SO i want to open text file and want show text of that file in my textbox ..
here is my code
private void button2_Click(object sender, EventArgs e)
{
OpenFileDialog O = new OpenFileDialo...