Browse by Tags

Related Posts

  • 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
  • Re: Validating a disabled textbox

    Thx to Jessica for pointing me in the right direction I have solved this problem. In the page load event add: Me .tbox_hearing_date.Attributes.Add( "onkeydown" , "return false;" ) This will effectivley disable the texbox while allowing validation. Thx jessica
    Posted to Web Forms (Forum) by brainbug on 04-11-2007, 12:00 AM
    Filed under: TextBox, validation, textbox disable, Textbox disabled
  • There's always an easier way.

    Hello All, Right now I am getting ready to write an onSubmit handler. In the event handler, I would like to write a function that: - validate some information in a text box Should be 'RO' + 6 numbers(ex. RO152465) - builds a SQL query based on checkboxes selected and then the values that are in the drop...
    Posted to Web Forms (Forum) by dohertyk on 04-24-2007, 12:00 AM
    Filed under: event validation, TextBox, ASP.NET, form, radio button, DropDownList, submit, "Asynchronous Operation", <%@ Page Language="VB" %>, ASP.NET 2.0, codebehind, View, Database, Validators, DataGrid, event, ASP.NET 2.0 VB.NET, ASP.NET 2.0 IIS, SQLDataSource, visual studio, validation, IIS, validate, aspx, .net, ASP.NET 2.0 webform, Valdiation Controls, ASP.NET 2.0 Ajax Control Toolkit Ajax Tab Control, asp, Webforms, Beginner, dropDownList radiobuttonlist, events, event handlin, vb.net, CustomValidator, Button Event OnClick, validation Controls, SQL SERVER, 2.0
  • Help with Regular Expression Validator

    Here is what I want to accomplish: 1- User must enter 1 - 250 characters (numbers, letters, symbols, blank spaces) 2- User must enter 1-7 lines (if user hit the "enter" key for the 8th line, the expression would catch it) Here is what I have so far: (.|\r|\n){1,255} Can you please help me?
    Posted to Getting Started (Forum) by cunharubens on 07-28-2007, 12:00 AM
    Filed under: regular expression, regex, TextBox, regex alphanumeric validation, validation, textbox validation, multiline texbox validation
  • Custom Validation based on RadioButtonList selection

    Hi everyone, I have a RadioButtonList with 3 listItems (One, Two & Three), as well as 3 texboxes. What happens is when I select "One" from RadioButtonList then only the first textbox displays, if I select "Two" then the first and second textboxes show.....and so on. I have required...
    Posted to Web Forms (Forum) by shalan99 on 08-01-2007, 12:00 AM
    Filed under: TextBox, validation, RadioButtonList
  • Formatting masked text box input.

    Hello, all. I'm using C# to create a composite control with some input fields. Most of those input fields are masked text boxes, and many of them have numeric values expressed as decimals (i.e., 1.25). My question to all of you: are there any built-in methods or classes to format user input so that...
    Posted to Web Forms (Forum) by Frederick on 05-05-2008, 12:00 AM
    Filed under: format, mask text box, validation, textbox
Page 1 of 1 (6 items)