Hi,
I am currently building a prototype for a new system screen, and i am using c# to build this.
The question i have is, i currently have 14 textboxes which are filled from a condition from a couple of other controls on the screen. these 14 textboxes all add up to a total shown in another textbox.
as these textboxes are editable (in ...
I am trying to draw a TextBox on the extended glass frame of my form. I won't describe this technique, it's well-known. Here's an example for those who haven't heard of it: http://www.danielmoth.com/Blog/Vista-Glass-In-C.aspx
The thing is, it is complex to draw over this glass frame. Since black is considered to be the 0-alpha color, an...
Is is possible (cross-browser compatible) to CANCEL a keystroke after a user has made it (for example on a textbox)
The code I currently use edits the textbox value after the keystroke has been displayed:
$('.number').keypress(function() {
this.value = this.value.replace(/[^0-9\.]/g, '');
});
...
Hi !
I made a user interface in VBA with many textbox. I read an excel sheet and I put all the value of this one in all the textbox of my user inteface. So the user can modify the values and then save it in the excel sheet.
Because we can't name the textbox like array (textBox(1), textbox(2)....) this is hard to fill the textbox by usi...
Hey,
I have this asp.net code in my page :
<div id="prx">ABC</div>
And I want to change the value "ABC" to something when for example the user type a value in TextBox.
How can I do that using Ajax ?
Thanks
...
Hello,
I'm starting in asp.net and am having some problems that I do not understand. The problem is this, I am building a site for news. Every news has a title and body. I have a page where I can insert news, this page uses a textbox for each of the fields (title and body), after clicking the submit button everything goes ok and saves th...
Hi all,
I have large text in System.Windows.Forms.TextBox control in my form (winforms), vs 2008.
I want find a text, and select the line number where I've found that text.
Sample,
I have fat big text, and I find "ERROR en línea", and I want select the line number in textbox multiline.
string textoLogDeFuenteSQL = @"SQL*Plus: Releas...
Hi all,
I use vs 2008, windows forms, c#
I have a Collection of OracleErrors, that I gather of sqlplus.exe output:, List, and entity OracleError:
public class OracleError
{
public int NumberLine { get; set}
public string SourceFile { get; set}
public string Error { get; set}
}
Now, in my form, I use DataGridView and TextBox Mu...
Hi, I have a typical MVVM scenario:
I have a ListBox that is binded to a List of StepsViewModels.
I define a DataTemplate so that StepViewModels are rendered as StepViews.
The StepView UserControl have a set of labels and TextBoxs.
What I want to do is to select the ListBoxItem that is wrapping the StepView when a textBox is focused. I...
must you convert from strings to double? if so. how?
Are there functions for trig that will accept textbox string data as is?
Is there a way to pull the data from the textbox as a numeric value, not as a string?
...
Hi, I have a web page which contains multiple panels (used to show and hide various textboxes) and one particular panel contains textboxes that is used to edit records. However, when I am attemtping to update the table, the txtVendorName.Text.Trim() is blank.
SqlConnection con = new SqlConnection(strConn);
string sql...
Dear all...
I want to get textbox handle from "Oracle Developer Forums Runtime" appications
to read it's text with VB.NET or C# But cannot!!!!
Please help...
...
I have a custom control template which is set via the style property on a TextBox. The visual poperties are set correctly, even typing to the textbox works, but there is no insertion cursor (the | symbol) visible which makes editing challenging for our users.
How does the control template need changing to get the traditional TextBox beh...
Hi,
I did an application for the Microsoft Surface and the virtual Keyboard that appears when I focus the SurfaceTextBox did not appear when I tested it on a real Microsoft Surface yesterday. On the simulator it works fine and without any problems.
What could the problem be?
...
Hi,
I would like to insert text in a particular line, and replacing the text in the same line.
Eg
This is line 1
This is line 2
This is line 3
Now i would like to replace the text in line 2 to
this is new line 2
is this possible?
...
Hi,
I have to find/replace text from a word document. It works fine for plain
text spread through the document, however when the text is in a textbox, the
standard find/replace approach doesn't reach it.
I found a vba solution, however since I am working in C#, I would like to
find a solution in C#. The word document is in 2007 form...
I don't know what this is called so its hard to google for it.
If you have a plain html input type=text with a small width eg 20 and then type more characters than can be displayed, it shows the last characters you type. And the first ones are scrolled out of view:
This is my long text // this is the whole string
my long string // this...
I have a WPF textbox, and perform the following actions
Enter text as "12345"
Move cursor between 3 and 4 (using arrow or
mouseclick)
Enter 0 (so Text is now "123045")
Which event/eventargs can tell me that 0 was typed at location 4.
I need to know this at Preview level so that I can reject the character 0 based on the prefixed and s...
I am trying to add the onkeydown attribute to an asp:textbox. For some reason my code can't find the textbox that is inside a loginview.
Am I doing something wrong?
<script type="text/javascript">
window.onload = function() {
UserName.Attributes.Add("onKeyDown", "KeyDownHandler('" + btn.ClientID + "')");
Password.Attributes.Add...
hello all
i want to change the position of my TextBox when the upper textbox is to be invisbile how can i achieve it i m using wpf c#.
i m using Visibility="Collapsed"
but it take the space .
thnks in advance
shashank tyagi
...