Click here to Skip to main content
15,886,857 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Develop Antivirus (Urgent !) Pin
Alok Sharma ji15-Mar-09 18:00
Alok Sharma ji15-Mar-09 18:00 
GeneralRe: Develop Antivirus (Urgent !) Pin
Milind Panchal15-Mar-09 23:15
Milind Panchal15-Mar-09 23:15 
AnswerRe: Develop Antivirus (Urgent !) Pin
Abhijit Jana15-Mar-09 18:11
professionalAbhijit Jana15-Mar-09 18:11 
AnswerRe: Develop Antivirus (Urgent !) Pin
rakeshs31215-Mar-09 18:23
rakeshs31215-Mar-09 18:23 
GeneralRe: Develop Antivirus (Urgent !) Pin
Milind Panchal15-Mar-09 23:17
Milind Panchal15-Mar-09 23:17 
AnswerRe: Develop Antivirus (Urgent !) Pin
Christian Graus15-Mar-09 18:31
protectorChristian Graus15-Mar-09 18:31 
GeneralRe: Develop Antivirus (Urgent !) Pin
Milind Panchal15-Mar-09 23:18
Milind Panchal15-Mar-09 23:18 
QuestionTextBox to autopostback "automatically" when text.length = x Pin
suni_dotnet15-Mar-09 12:44
suni_dotnet15-Mar-09 12:44 
Hi All,
i have 4 textboxes.
when the length of text in first textbox is equal to 4 then it should "automatically" change its focus to next textbox. i have set the autopostback to true but i need to click on screen to make a postback.
i used onKeyPress, onKeyUp, onTextChanged but nothing is working for me... or is there any mistake in my code..

.aspx page :
<asp:textbox id="TextBox1" runat="server" onkeyup="textLength()" xmlns:asp="#unknown">

javascript code :

function textLength() {
var val = document.getElementById("TextBox2").value;
if (val.length == 4) {
document.getElementById("TextBox3").Focus();
}
}

in .aspx.cs page:
TextBox2.Attributes.Add("onKeyUp", "javascript: textLength();");

is there any way to achieve this..
Thanks in Advance.
AnswerRe: TextBox to autopostback "automatically" when text.length = x Pin
Christian Graus15-Mar-09 12:55
protectorChristian Graus15-Mar-09 12:55 
GeneralRe: TextBox to autopostback "automatically" when text.length = x Pin
suni_dotnet15-Mar-09 13:41
suni_dotnet15-Mar-09 13:41 
GeneralRe: TextBox to autopostback "automatically" when text.length = x Pin
Christian Graus15-Mar-09 14:09
protectorChristian Graus15-Mar-09 14:09 
GeneralRe: TextBox to autopostback "automatically" when text.length = x Pin
suni_dotnet15-Mar-09 14:28
suni_dotnet15-Mar-09 14:28 
GeneralRe: TextBox to autopostback "automatically" when text.length = x Pin
Alok Sharma ji15-Mar-09 17:44
Alok Sharma ji15-Mar-09 17:44 
GeneralRe: TextBox to autopostback "automatically" when text.length = x Pin
Christian Graus15-Mar-09 18:32
protectorChristian Graus15-Mar-09 18:32 
QuestionUnable to get the Identity column value for new row in MSSQL database. Pin
AprNgp15-Mar-09 9:13
AprNgp15-Mar-09 9:13 
AnswerRe: Unable to get the Identity column value for new row in MSSQL database. Pin
Christian Graus15-Mar-09 10:06
protectorChristian Graus15-Mar-09 10:06 
GeneralRe: Unable to get the Identity column value for new row in MSSQL database. Pin
AprNgp15-Mar-09 21:01
AprNgp15-Mar-09 21:01 
Questionhow to call Pin
JAYRAJ GIRI15-Mar-09 6:06
JAYRAJ GIRI15-Mar-09 6:06 
AnswerRe: how to call Pin
Expert Coming15-Mar-09 6:26
Expert Coming15-Mar-09 6:26 
GeneralRe: how to call Pin
Christian Graus15-Mar-09 10:19
protectorChristian Graus15-Mar-09 10:19 
AnswerRe: how to call Pin
Christian Graus15-Mar-09 10:18
protectorChristian Graus15-Mar-09 10:18 
Questionequivalent of string.contains(vs2005) in vs2003. Pin
bishwambhar_sen15-Mar-09 1:31
bishwambhar_sen15-Mar-09 1:31 
AnswerRe: equivalent of string.contains(vs2005) in vs2003. Pin
N a v a n e e t h15-Mar-09 3:50
N a v a n e e t h15-Mar-09 3:50 
Questionsetting DropDownList value Pin
liz315-Mar-09 0:44
liz315-Mar-09 0:44 
AnswerRe: setting DropDownList value Pin
Expert Coming15-Mar-09 5:44
Expert Coming15-Mar-09 5:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.