Click here to Skip to main content
15,893,722 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
Hi,
thanks for replying...
my javascript is not executing .
i verified my code many times. iam unable to figure it out (why javascript is not executing).
this is my entire code:

protected void page_load(object sender, EventArgs e)
{
if(Page.IsPostBack)
{
TextBox2.Attributes.Add("onKeyUp", "javascript: textLength();");
}
}

]]>





<title>Untitled Page

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






















<asp:textbox id="TextBox1" runat="server" autopostback="true" xmlns:asp="#unknown">
onKeyUp="textLength(this)" >
<asp:textbox id="TextBox2" name="t2" runat="server" ontextchanged="TextBox_TextChanged" xmlns:asp="#unknown">








    





 






Is everything is correct ?
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[Message Deleted] Pin
liz315-Mar-09 5:50
liz315-Mar-09 5:50 
GeneralRe: setting DropDownList value Pin
Expert Coming15-Mar-09 5:52
Expert Coming15-Mar-09 5:52 

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.