473,416 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

TextBox TextChanged property

I have an asp.net page that contains a FormView with several controls bound
to a SqlDataSource. One of the controls is a TextBox bound to a date
column. I have the following additional properties on the TextBox:

OnTextChanged="txtDestroyed_TextChanged" AutoPostBack="true"

I expected the OnTextChanged event to fire immediately and run the postback
but it does not. The code does not run until I click the "Update" button.
Can anyone help? Below is the event code. Thanks.

Protected Sub txtDestroyed_TextChanged(ByVal sender As Object, ByVal e
As System.EventArgs)
'Run function to delete all documents in all subfile folders for
this file
Dim strText As String
strText = DBClass.DeleteFileDocuments(txtFileNumber.Text)
txtMsg.Text = strText

Try

' Use the UpdateItem method to programmatically update
' the current record in the FormView control.
fvFileCase.UpdateItem(True)

Catch ex As HttpException

txtMsg.Text = strText & "<br />The FormView control must be in
edit mode to update a record."

End Try
End Sub

David
Jun 27 '08 #1
9 2993
I can only assume this is by design. It would be horribly inefficient and
confusing to the user to have the page post back in response to each key
pressed. In addition, I can't really tell but it appears you are deleting
files based on the current text? How does that work if the text changes but
the user is not yet done typing the correct name?

Depending on exactly why you want this, it is probably a job for client-side
javascript and possibly AJAX.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:OC**************@TK2MSFTNGP05.phx.gbl...
>I have an asp.net page that contains a FormView with several controls bound
to a SqlDataSource. One of the controls is a TextBox bound to a date
column. I have the following additional properties on the TextBox:

OnTextChanged="txtDestroyed_TextChanged" AutoPostBack="true"

I expected the OnTextChanged event to fire immediately and run the
postback but it does not. The code does not run until I click the "Update"
button. Can anyone help? Below is the event code. Thanks.

Protected Sub txtDestroyed_TextChanged(ByVal sender As Object, ByVal e
As System.EventArgs)
'Run function to delete all documents in all subfile folders for
this file
Dim strText As String
strText = DBClass.DeleteFileDocuments(txtFileNumber.Text)
txtMsg.Text = strText

Try

' Use the UpdateItem method to programmatically update
' the current record in the FormView control.
fvFileCase.UpdateItem(True)

Catch ex As HttpException

txtMsg.Text = strText & "<br />The FormView control must be in
edit mode to update a record."

End Try
End Sub

David
Jun 27 '08 #2
I have a javascript prompt to make sure they want to do this. If ok, then
the idea is to remove all document files for that file number. Should I put
the code into the Updating event of the SqlDataSource or ??? instead?
Thanks.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eb**************@TK2MSFTNGP03.phx.gbl...
>I can only assume this is by design. It would be horribly inefficient and
confusing to the user to have the page post back in response to each key
pressed. In addition, I can't really tell but it appears you are deleting
files based on the current text? How does that work if the text changes but
the user is not yet done typing the correct name?

Depending on exactly why you want this, it is probably a job for
client-side javascript and possibly AJAX.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:OC**************@TK2MSFTNGP05.phx.gbl...
>>I have an asp.net page that contains a FormView with several controls
bound to a SqlDataSource. One of the controls is a TextBox bound to a
date column. I have the following additional properties on the TextBox:

OnTextChanged="txtDestroyed_TextChanged" AutoPostBack="true"

I expected the OnTextChanged event to fire immediately and run the
postback but it does not. The code does not run until I click the
"Update" button. Can anyone help? Below is the event code. Thanks.

Protected Sub txtDestroyed_TextChanged(ByVal sender As Object, ByVal e
As System.EventArgs)
'Run function to delete all documents in all subfile folders for
this file
Dim strText As String
strText = DBClass.DeleteFileDocuments(txtFileNumber.Text)
txtMsg.Text = strText

Try

' Use the UpdateItem method to programmatically update
' the current record in the FormView control.
fvFileCase.UpdateItem(True)

Catch ex As HttpException

txtMsg.Text = strText & "<br />The FormView control must be in
edit mode to update a record."

End Try
End Sub

David

Jun 27 '08 #3
I'm still not clear on how you know they've finished typing. If they've only
typed part of the name, it seems that you could end up deleting the wrong
files.

In this case, a button seems required to indicate they want to submit the
change. Otherwise, I don't see how you can know when they've finished
typing.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:ux**************@TK2MSFTNGP05.phx.gbl...
>I have a javascript prompt to make sure they want to do this. If ok, then
the idea is to remove all document files for that file number. Should I
put the code into the Updating event of the SqlDataSource or ??? instead?
Thanks.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eb**************@TK2MSFTNGP03.phx.gbl...
>>I can only assume this is by design. It would be horribly inefficient and
confusing to the user to have the page post back in response to each key
pressed. In addition, I can't really tell but it appears you are deleting
files based on the current text? How does that work if the text changes
but the user is not yet done typing the correct name?

Depending on exactly why you want this, it is probably a job for
client-side javascript and possibly AJAX.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:OC**************@TK2MSFTNGP05.phx.gbl...
>>>I have an asp.net page that contains a FormView with several controls
bound to a SqlDataSource. One of the controls is a TextBox bound to a
date column. I have the following additional properties on the TextBox:

OnTextChanged="txtDestroyed_TextChanged" AutoPostBack="true"

I expected the OnTextChanged event to fire immediately and run the
postback but it does not. The code does not run until I click the
"Update" button. Can anyone help? Below is the event code. Thanks.

Protected Sub txtDestroyed_TextChanged(ByVal sender As Object, ByVal
e As System.EventArgs)
'Run function to delete all documents in all subfile folders for
this file
Dim strText As String
strText = DBClass.DeleteFileDocuments(txtFileNumber.Text)
txtMsg.Text = strText

Try

' Use the UpdateItem method to programmatically update
' the current record in the FormView control.
fvFileCase.UpdateItem(True)

Catch ex As HttpException

txtMsg.Text = strText & "<br />The FormView control must be
in edit mode to update a record."

End Try
End Sub

David

Jun 27 '08 #4
I thought that the TextChanged event only fired when they leave the control.
Besides, it is a date field with a validator so they cannot type half of a
date.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:O1**************@TK2MSFTNGP06.phx.gbl...
I'm still not clear on how you know they've finished typing. If they've
only typed part of the name, it seems that you could end up deleting the
wrong files.

In this case, a button seems required to indicate they want to submit the
change. Otherwise, I don't see how you can know when they've finished
typing.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:ux**************@TK2MSFTNGP05.phx.gbl...
>>I have a javascript prompt to make sure they want to do this. If ok, then
the idea is to remove all document files for that file number. Should I
put the code into the Updating event of the SqlDataSource or ??? instead?
Thanks.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eb**************@TK2MSFTNGP03.phx.gbl...
>>>I can only assume this is by design. It would be horribly inefficient
and confusing to the user to have the page post back in response to each
key pressed. In addition, I can't really tell but it appears you are
deleting files based on the current text? How does that work if the text
changes but the user is not yet done typing the correct name?

Depending on exactly why you want this, it is probably a job for
client-side javascript and possibly AJAX.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:OC**************@TK2MSFTNGP05.phx.gbl...
I have an asp.net page that contains a FormView with several controls
bound to a SqlDataSource. One of the controls is a TextBox bound to a
date column. I have the following additional properties on the TextBox:

OnTextChanged="txtDestroyed_TextChanged" AutoPostBack="true"

I expected the OnTextChanged event to fire immediately and run the
postback but it does not. The code does not run until I click the
"Update" button. Can anyone help? Below is the event code. Thanks.

Protected Sub txtDestroyed_TextChanged(ByVal sender As Object, ByVal
e As System.EventArgs)
'Run function to delete all documents in all subfile folders for
this file
Dim strText As String
strText = DBClass.DeleteFileDocuments(txtFileNumber.Text)
txtMsg.Text = strText

Try

' Use the UpdateItem method to programmatically update
' the current record in the FormView control.
fvFileCase.UpdateItem(True)

Catch ex As HttpException

txtMsg.Text = strText & "<br />The FormView control must be
in edit mode to update a record."

End Try
End Sub

David



Jun 27 '08 #5
"David C" <dl*****@lifetimeinc.comwrote in message
news:uP**************@TK2MSFTNGP04.phx.gbl...
I thought that the TextChanged event only fired when they leave the
control.
Correct:
http://authors.aspalliance.com/aspxt...intextbox.aspx
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #6
Okay, I'm with you now. You are saying that's what you want but it doesn't
do that?

I just tried it in VS2008, Vista, and IE7 and it *does* postback when I tab
away from the textbox. So I don't know what is different for you. You said
you have some javascript to confirm. Is it possible that is interfering
somehow?

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:uP**************@TK2MSFTNGP04.phx.gbl...
>I thought that the TextChanged event only fired when they leave the
control. Besides, it is a date field with a validator so they cannot type
half of a date.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:O1**************@TK2MSFTNGP06.phx.gbl...
>I'm still not clear on how you know they've finished typing. If they've
only typed part of the name, it seems that you could end up deleting the
wrong files.

In this case, a button seems required to indicate they want to submit the
change. Otherwise, I don't see how you can know when they've finished
typing.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:ux**************@TK2MSFTNGP05.phx.gbl...
>>>I have a javascript prompt to make sure they want to do this. If ok,
then the idea is to remove all document files for that file number.
Should I put the code into the Updating event of the SqlDataSource or ???
instead? Thanks.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eb**************@TK2MSFTNGP03.phx.gbl...
I can only assume this is by design. It would be horribly inefficient
and confusing to the user to have the page post back in response to each
key pressed. In addition, I can't really tell but it appears you are
deleting files based on the current text? How does that work if the text
changes but the user is not yet done typing the correct name?

Depending on exactly why you want this, it is probably a job for
client-side javascript and possibly AJAX.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:OC**************@TK2MSFTNGP05.phx.gbl...
>I have an asp.net page that contains a FormView with several controls
>bound to a SqlDataSource. One of the controls is a TextBox bound to a
>date column. I have the following additional properties on the
>TextBox:
>
OnTextChanged="txtDestroyed_TextChanged" AutoPostBack="true"
>
I expected the OnTextChanged event to fire immediately and run the
postback but it does not. The code does not run until I click the
"Update" button. Can anyone help? Below is the event code. Thanks.
>
Protected Sub txtDestroyed_TextChanged(ByVal sender As Object,
ByVal e As System.EventArgs)
'Run function to delete all documents in all subfile folders
for this file
Dim strText As String
strText = DBClass.DeleteFileDocuments(txtFileNumber.Text)
txtMsg.Text = strText
>
Try
>
' Use the UpdateItem method to programmatically update
' the current record in the FormView control.
fvFileCase.UpdateItem(True)
>
Catch ex As HttpException
>
txtMsg.Text = strText & "<br />The FormView control must be
in edit mode to update a record."
>
End Try
End Sub
>
David
>

Jun 27 '08 #7
I have added an onchange event as follows:

Attributes.Add("onchange", "return ConfirmDestroy();")

The javascript function is being called below:

function ConfirmDestroy()
{
return confirm('Are you sure you want to mark file ' + varfileno + ' as
destroyed? NOTE: This will delete all documents in all subfile folders.');
}

I want to be able to cancel and not do the postback, thus the confirm.

David

"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Okay, I'm with you now. You are saying that's what you want but it doesn't
do that?

I just tried it in VS2008, Vista, and IE7 and it *does* postback when I
tab away from the textbox. So I don't know what is different for you. You
said you have some javascript to confirm. Is it possible that is
interfering somehow?

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:uP**************@TK2MSFTNGP04.phx.gbl...
>>I thought that the TextChanged event only fired when they leave the
control. Besides, it is a date field with a validator so they cannot type
half of a date.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:O1**************@TK2MSFTNGP06.phx.gbl...
>>I'm still not clear on how you know they've finished typing. If they've
only typed part of the name, it seems that you could end up deleting the
wrong files.

In this case, a button seems required to indicate they want to submit
the change. Otherwise, I don't see how you can know when they've
finished typing.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:ux**************@TK2MSFTNGP05.phx.gbl...
I have a javascript prompt to make sure they want to do this. If ok,
then the idea is to remove all document files for that file number.
Should I put the code into the Updating event of the SqlDataSource or
??? instead? Thanks.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eb**************@TK2MSFTNGP03.phx.gbl...
>I can only assume this is by design. It would be horribly inefficient
>and confusing to the user to have the page post back in response to
>each key pressed. In addition, I can't really tell but it appears you
>are deleting files based on the current text? How does that work if the
>text changes but the user is not yet done typing the correct name?
>
Depending on exactly why you want this, it is probably a job for
client-side javascript and possibly AJAX.
>
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
>
"David C" <dl*****@lifetimeinc.comwrote in message
news:OC**************@TK2MSFTNGP05.phx.gbl.. .
>>I have an asp.net page that contains a FormView with several controls
>>bound to a SqlDataSource. One of the controls is a TextBox bound to a
>>date column. I have the following additional properties on the
>>TextBox:
>>
>OnTextChanged="txtDestroyed_TextChanged" AutoPostBack="true"
>>
>I expected the OnTextChanged event to fire immediately and run the
>postback but it does not. The code does not run until I click the
>"Update" button. Can anyone help? Below is the event code. Thanks.
>>
> Protected Sub txtDestroyed_TextChanged(ByVal sender As Object,
>ByVal e As System.EventArgs)
> 'Run function to delete all documents in all subfile folders
>for this file
> Dim strText As String
> strText = DBClass.DeleteFileDocuments(txtFileNumber.Text)
> txtMsg.Text = strText
>>
> Try
>>
> ' Use the UpdateItem method to programmatically update
> ' the current record in the FormView control.
> fvFileCase.UpdateItem(True)
>>
> Catch ex As HttpException
>>
> txtMsg.Text = strText & "<br />The FormView control must
>be in edit mode to update a record."
>>
> End Try
> End Sub
>>
>David
>>
>


Jun 27 '08 #8
One more thing I noticed. It works if I remove the javascript but the
formview updateitem is failing and I don't know why. I really want to save
the changes when they confirm. Thanks.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Okay, I'm with you now. You are saying that's what you want but it doesn't
do that?

I just tried it in VS2008, Vista, and IE7 and it *does* postback when I
tab away from the textbox. So I don't know what is different for you. You
said you have some javascript to confirm. Is it possible that is
interfering somehow?

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:uP**************@TK2MSFTNGP04.phx.gbl...
>>I thought that the TextChanged event only fired when they leave the
control. Besides, it is a date field with a validator so they cannot type
half of a date.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:O1**************@TK2MSFTNGP06.phx.gbl...
>>I'm still not clear on how you know they've finished typing. If they've
only typed part of the name, it seems that you could end up deleting the
wrong files.

In this case, a button seems required to indicate they want to submit
the change. Otherwise, I don't see how you can know when they've
finished typing.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:ux**************@TK2MSFTNGP05.phx.gbl...
I have a javascript prompt to make sure they want to do this. If ok,
then the idea is to remove all document files for that file number.
Should I put the code into the Updating event of the SqlDataSource or
??? instead? Thanks.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eb**************@TK2MSFTNGP03.phx.gbl...
>I can only assume this is by design. It would be horribly inefficient
>and confusing to the user to have the page post back in response to
>each key pressed. In addition, I can't really tell but it appears you
>are deleting files based on the current text? How does that work if the
>text changes but the user is not yet done typing the correct name?
>
Depending on exactly why you want this, it is probably a job for
client-side javascript and possibly AJAX.
>
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
>
"David C" <dl*****@lifetimeinc.comwrote in message
news:OC**************@TK2MSFTNGP05.phx.gbl.. .
>>I have an asp.net page that contains a FormView with several controls
>>bound to a SqlDataSource. One of the controls is a TextBox bound to a
>>date column. I have the following additional properties on the
>>TextBox:
>>
>OnTextChanged="txtDestroyed_TextChanged" AutoPostBack="true"
>>
>I expected the OnTextChanged event to fire immediately and run the
>postback but it does not. The code does not run until I click the
>"Update" button. Can anyone help? Below is the event code. Thanks.
>>
> Protected Sub txtDestroyed_TextChanged(ByVal sender As Object,
>ByVal e As System.EventArgs)
> 'Run function to delete all documents in all subfile folders
>for this file
> Dim strText As String
> strText = DBClass.DeleteFileDocuments(txtFileNumber.Text)
> txtMsg.Text = strText
>>
> Try
>>
> ' Use the UpdateItem method to programmatically update
> ' the current record in the FormView control.
> fvFileCase.UpdateItem(True)
>>
> Catch ex As HttpException
>>
> txtMsg.Text = strText & "<br />The FormView control must
>be in edit mode to update a record."
>>
> End Try
> End Sub
>>
>David
>>
>


Jun 27 '08 #9
I'm not 100% certain what is happening off the top of my head, but the
postback is accomplished using javascript. I think your javascript is
overriding ASP.NET's javascript and that's why it doesn't happen.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:u0**************@TK2MSFTNGP05.phx.gbl...
>I have added an onchange event as follows:

Attributes.Add("onchange", "return ConfirmDestroy();")

The javascript function is being called below:

function ConfirmDestroy()
{
return confirm('Are you sure you want to mark file ' + varfileno + ' as
destroyed? NOTE: This will delete all documents in all subfile folders.');
}

I want to be able to cancel and not do the postback, thus the confirm.

David

"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>Okay, I'm with you now. You are saying that's what you want but it
doesn't do that?

I just tried it in VS2008, Vista, and IE7 and it *does* postback when I
tab away from the textbox. So I don't know what is different for you. You
said you have some javascript to confirm. Is it possible that is
interfering somehow?

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:uP**************@TK2MSFTNGP04.phx.gbl...
>>>I thought that the TextChanged event only fired when they leave the
control. Besides, it is a date field with a validator so they cannot type
half of a date.

David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:O1**************@TK2MSFTNGP06.phx.gbl...
I'm still not clear on how you know they've finished typing. If they've
only typed part of the name, it seems that you could end up deleting
the wrong files.

In this case, a button seems required to indicate they want to submit
the change. Otherwise, I don't see how you can know when they've
finished typing.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"David C" <dl*****@lifetimeinc.comwrote in message
news:ux**************@TK2MSFTNGP05.phx.gbl...
>I have a javascript prompt to make sure they want to do this. If ok,
>then the idea is to remove all document files for that file number.
>Should I put the code into the Updating event of the SqlDataSource or
>??? instead? Thanks.
>
David
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eb**************@TK2MSFTNGP03.phx.gbl.. .
>>I can only assume this is by design. It would be horribly inefficient
>>and confusing to the user to have the page post back in response to
>>each key pressed. In addition, I can't really tell but it appears you
>>are deleting files based on the current text? How does that work if
>>the text changes but the user is not yet done typing the correct name?
>>
>Depending on exactly why you want this, it is probably a job for
>client-side javascript and possibly AJAX.
>>
>--
>Jonathan Wood
>SoftCircuits Programming
>http://www.softcircuits.com
>>
>"David C" <dl*****@lifetimeinc.comwrote in message
>news:OC**************@TK2MSFTNGP05.phx.gbl. ..
>>>I have an asp.net page that contains a FormView with several controls
>>>bound to a SqlDataSource. One of the controls is a TextBox bound to
>>>a date column. I have the following additional properties on the
>>>TextBox:
>>>
>>OnTextChanged="txtDestroyed_TextChanged" AutoPostBack="true"
>>>
>>I expected the OnTextChanged event to fire immediately and run the
>>postback but it does not. The code does not run until I click the
>>"Update" button. Can anyone help? Below is the event code. Thanks.
>>>
>> Protected Sub txtDestroyed_TextChanged(ByVal sender As Object,
>>ByVal e As System.EventArgs)
>> 'Run function to delete all documents in all subfile folders
>>for this file
>> Dim strText As String
>> strText = DBClass.DeleteFileDocuments(txtFileNumber.Text)
>> txtMsg.Text = strText
>>>
>> Try
>>>
>> ' Use the UpdateItem method to programmatically update
>> ' the current record in the FormView control.
>> fvFileCase.UpdateItem(True)
>>>
>> Catch ex As HttpException
>>>
>> txtMsg.Text = strText & "<br />The FormView control must
>>be in edit mode to update a record."
>>>
>> End Try
>> End Sub
>>>
>>David
>>>
>>
>
>

Jun 27 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Chuck Bowling | last post by:
Am I doing something wrong or does the TextBox.AcceptsReturn property not work as documented? According to the help, "true if the ENTER key creates a new line of text in a multiline version of...
2
by: VMI | last post by:
I'm trying to some dynamic searching to my windows Form so I added code in my TextBox.TextChanged so that, after every text change, a search is done to a datatable. So if I want to type the string...
1
by: mg | last post by:
I have a MultiLine TextBox (WebForm - C#) with the MaxLength property = 1000 but am able to type in an unlimited number of characters. Is there a way to limit the number of characters that can be...
2
by: jorge | last post by:
Hello I have the following situation: (everything is dynamic (controls.add)) 1. Button.Init { WasButtonClickFired = true } 2. TextBox.TextChanged { WasButtonClickFired?
4
by: David Kyle | last post by:
Hello there, I'm having some problems setting the TextBox.Text Property in my code and having it returned to the client in the source when the TextBox.TextMode="Password". I know this is...
6
by: Agnes | last post by:
I create my own usercontrol (textbox), I new a property 'Type' I will set this property during design mode, I will set 'I' OR 'C', i stands for integer, c stands for character, Now, In that...
1
by: mosquito.dotnet | last post by:
I am getting clearly wrong values from TextBox.SelectionStart property in C# code. For example, if I move caret one character to right by pressing Keys.Right, sometimes declared SelectionStart...
0
by: Jason Huang | last post by:
Hi, In my C# 1.1 Windows form project, I have a TextBox TextChanged for TextBox1 on the Form1. How do I limit the TextChanged event to only real user doing something on that TextBox? I mean...
10
by: Gary Rubin | last post by:
I am trying to figure out how to get the contents of a textbox text property into an unsigned char array. I have been researching this via google for a few days without any success unfortunately. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.