Browse by Tags

Related Posts

  • Re: radio buttons check validation in asp.net

    What you do is add this script to your page. Then add OnSubmit="return validate();" to your FORM tag. < script language= "javascript" type= "text/javascript" > function validate() { var rdo = document.getElementById('< %=rdoList.ClientID% >'); var select...
    Posted to Client Side Web Development (Forum) by SuperGhost on 10-26-2006, 12:00 AM
    Filed under: javascript, OnSubmit, Validation
  • Validate text in two text boxes on a single button click

    Hi I have two text boxes where user can enter search text. When the user clicks on the search button both the text boxes should not be empty. If the user enters some value in one text box they should be able to search. I am trying to use java script for this. Here is the code I have written. But nothing...
    Posted to Client Side Web Development (Forum) by granada on 12-20-2006, 12:00 AM
    Filed under: javascript, Client Script, vs2005, Validation, javascript in asp.net, textbox
  • Validators cause Javascript to break

    Hi, folks. Can anyone explain this problem? I am using Visual Studio 2005 (ASP.NET 2.0/C#). I have created a composite control which combines a DropDownList with a TextBox. When the user selects a list entry, the text is copied into the textbox. I have this JavaScript function, to which I pass the TextBox...
    Posted to Client Side Web Development (Forum) by cnelson1 on 01-03-2007, 12:00 AM
    Filed under: c# javascript function, javascript, control, ClientID, getElementById, Client Script, Validation, Composite Controls, javascript in asp.net, validate
  • Checking Form Element's Default Values to determine if Form Has Changed

    Has anyone else attempted to write a function that does this in javascript? I have successfully created a function that does so, but it doesn't seem to work due to postbacks. What the function does is loops through the form and checks each element. It checks the element to see if it's default value ...
    Posted to Client Side Web Development (Forum) by FrankM on 03-20-2007, 12:00 AM
    Filed under: javascript:, javascript, control, Validation, client, asp.NET, ASP.NET 2.0
  • Re: JavaScript Calls C# Function to access a Database

    I am trying JoshStodola hidden field suggestion, but I can't seem to get the javascript to work. The script is below: function PrimeKeyCheck(sender, args) { var numberOfRecords; var hiddenField = document.getElementById("NumOfRecordsHiddenField"); numberOfRecords = parseInt(hiddenField...
    Posted to Client Side Web Development (Forum) by Shea L. Fox on 06-26-2007, 12:00 AM
    Filed under: javascript:, javascript, Validation, Validation Controls, ClientScript
  • Re: Client Side Validation for CustomValidator

    I decided to try a different approach in which I read the count value from a hidden field . This hidden field value is compared againt an integer to return true or false. However, the script doesnt seem to be working. The script is below: function PrimeKeyCheck(sender, args) { var numberOfRecords; var...
    Posted to Web Forms (Forum) by Shea L. Fox on 06-26-2007, 12:00 AM
    Filed under: javascript, validation, Valdiation Controls, validation Controls, custom validator, CustomControl
  • java script alert validation

    I am looking to add some client side validation to my project . What i am looking to do is to have a javascript warning on click that will stop the current action if the users clicks no. so far i have got the onclientclick but not 100% on the JS and if i need to return the value and so on. I am using...
    Posted to Client Side Web Development (Forum) by tjrey on 05-17-2008, 12:00 AM
    Filed under: javascript, Validators, validation expressions, Javascript client scripting, validation, .net2.0, Javascript and asp.net2.0, Javascript and ASP.Net, javascript and ASP.Net 2.0, validationcontrols, .net 2.0 c#
  • Re: Validation errors in asp.net

    this if(!IsValid) return false; is working fine in ASP.NET 1.1 but not in ASP.NET 2.0 pl help
    Posted to Web Forms (Forum) by nitinver83 on 07-06-2007, 12:00 AM
    Filed under: javascript, validation
Page 1 of 1 (8 items)