Click here to Skip to main content
15,917,702 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem loading stylesheet Pin
anushh24-Feb-10 14:55
anushh24-Feb-10 14:55 
GeneralClient Side Custom Validation in Asp.Net (AJAX) Pin
saroj sigdel19-Feb-10 19:42
saroj sigdel19-Feb-10 19:42 
QuestionJavascript does not work with firefox browser? Pin
mdrizwan_119-Feb-10 19:35
mdrizwan_119-Feb-10 19:35 
Hello,
I have following javascript below it works fine with IE explorer when i try to insert special characters in textbox it does not except it. But when i run this in firefox it does not have any effect it excepts special characters in texbox.Can anybody solve this problem it will be a great help? Thanks in Advance.
<script language="JavaScript" type="text/javascript">
  function NumberOnly()
  {
      var keyASCII = window.event.keyCode;
      var keyValue = String.fromCharCode(keyASCII);
      if (!(keyASCII >= '97' && keyASCII <= '122')         && !(keyASCII >= '65' && keyASCII <=          '91') && !(keyValue >= '0' && keyValue       <= '9'))
      {
          window.event.keyCode = 0;
      }
  }

</script>


<asp:TextBox ID="txtbName" onkeypress = "NumberOnly()" runat="server" BorderStyle="Solid"
           BorderWidth="1px" BorderColor="#CCCCCC" BackColor="White" Width="150px"
           CausesValidation="True" Height="20px" MaxLength="50"></asp:TextBox>

AnswerRe: Javascript does not work with firefox browser? [modified] Pin
ais0720-Feb-10 0:26
ais0720-Feb-10 0:26 
AnswerRe: Javascript does not work with firefox browser? Pin
Palash Biswas21-Feb-10 19:28
Palash Biswas21-Feb-10 19:28 
QuestionComputer NAme Pin
ishwarya mahadevan19-Feb-10 17:52
ishwarya mahadevan19-Feb-10 17:52 
AnswerRe: Computer NAme Pin
sashidhar19-Feb-10 18:29
sashidhar19-Feb-10 18:29 
GeneralRe: Computer NAme Pin
ishwarya mahadevan19-Feb-10 18:31
ishwarya mahadevan19-Feb-10 18:31 
GeneralRe: Computer NAme Pin
sashidhar19-Feb-10 18:50
sashidhar19-Feb-10 18:50 
AnswerRe: Computer NAme Pin
Abhijit Jana19-Feb-10 20:14
professionalAbhijit Jana19-Feb-10 20:14 
AnswerRe: Computer NAme Pin
Brij20-Feb-10 0:28
mentorBrij20-Feb-10 0:28 
QuestionWeb Services Pin
ishwarya mahadevan19-Feb-10 17:48
ishwarya mahadevan19-Feb-10 17:48 
AnswerRe: Web Services Pin
sashidhar19-Feb-10 18:33
sashidhar19-Feb-10 18:33 
GeneralRe: Web Services Pin
ishwarya mahadevan19-Feb-10 19:10
ishwarya mahadevan19-Feb-10 19:10 
GeneralRe: Web Services Pin
sashidhar19-Feb-10 19:40
sashidhar19-Feb-10 19:40 
GeneralRe: Web Services Pin
mdrizwan_119-Feb-10 19:41
mdrizwan_119-Feb-10 19:41 
AnswerRe: Web Services Pin
mrMercury20-Feb-10 8:03
mrMercury20-Feb-10 8:03 
QuestionComments Form Pin
Madmaximus19-Feb-10 10:47
Madmaximus19-Feb-10 10:47 
AnswerRe: Comments Form Pin
Not Active19-Feb-10 11:23
mentorNot Active19-Feb-10 11:23 
AnswerRe: Comments Form Pin
JimBob SquarePants19-Feb-10 11:27
JimBob SquarePants19-Feb-10 11:27 
QuestionApplication Pool recycling Pin
Le centriste19-Feb-10 6:35
Le centriste19-Feb-10 6:35 
QuestionAutoRedirect... Pin
awedaonline19-Feb-10 3:55
awedaonline19-Feb-10 3:55 
AnswerRe: AutoRedirect... Pin
R. Giskard Reventlov19-Feb-10 4:27
R. Giskard Reventlov19-Feb-10 4:27 
GeneralRe: AutoRedirect... Pin
awedaonline19-Feb-10 4:48
awedaonline19-Feb-10 4:48 
GeneralRe: AutoRedirect... Pin
Not Active19-Feb-10 4:56
mentorNot Active19-Feb-10 4:56 

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.