|
by: DOTNETGUY |
last post by:
What i am doing is pretty simple. I am writing a simple control that you
probably have seen on many websites. You have a phone number field ( 3
Textboxes ) if the size of the textbox text is = 3 move to the second text
box. My problem is: How do i tell my app to select the second text box?
Here is an example on what I have so far:
Private Sub txtPhone1_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles...
|
by: melanieab |
last post by:
Hi,
I need to write something so that when a textbox is entered (this is for a
touchscreen), all the text in that textbox is selected (highlighted) and new
keystrokes replace the old text. Help!
Thanks (again),
Melanie
|
by: mg |
last post by:
I want to enter characters in a TextBox in a WebForm,
press a Button in the WebForm, and read the characters
that were typed into the TextBox from within the
Button_Click event handler. The main point here is that I
want to read the value typed into the TextBox without
hitting the Enter key or setting focus on another
control ...
|
by: Harry Simpson |
last post by:
I've got a server-side textbox that receives the focus when the page loads.
It has the text "Refine your Search" in the textbox. Obviously the user
needs to highlight the "Refine your Search" section to replace this with
thier text.
I've googled and found javascript (which doesn't seem to work with the
server side control).
Is there a way to do this with ASPNET??
|
by: Olav Tollefsen |
last post by:
I use this code to set focus to a textbox when I load a page:
private void SetFocus(System.Web.UI.Control ctrl)
{
string s = "<SCRIPT language=\"javascript\">document.getElementById('" +
ctrl.ID + "').focus()</SCRIPT>";
RegisterStartupScript("focus", s);
}
|
|
by: marfi95 |
last post by:
I'm very confused. I'm trying to automatically select the text when
my textbox gets the focus. This is typically when the user has
clicked the mouse in the field.
This is the code I have in the Text1_GotFocus event:
Text1.SelectionStart = 0
Text1.SelectionLength = Text1.Text.Length
However, the text does not get highlighted. It appears to be the
|
by: Dabbler |
last post by:
Is there a way to mark the text in a TextBox control as selected so when the
user types a new value the existing text is replaced?
Thanks
|
by: Abubakar |
last post by:
Hi,
In a normal Windows.Forms.TextBox control, I want to be able to select a
text (ie highlight, this is by default possible) and than be able to drag
that text through my mouse pointer to another textbox, or any control, than
drop it. How do v do this?
Regards,
...ab
|
by: pablorp80 |
last post by:
Hello,
Here is what I need:
I need the focus and the cursor set to a textbox named txtGT, every time no matter if it is the first page load or whether it is a postback.
Here is the problem:
I am using AJAX and MasterPages as well as an update panel, the textbox is in a panel. I have tried to do it using different java scripts but I can't get it to work because I am not using asp forms, instead I am using Containers.
Here is my code:...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|