Browse by Tags

Related Posts

  • 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
  • How to determine whether page was validated? How to solve well known Page.IsValid problem ....

    We have often problem with calling Page.IsValid property at some specific scenarios. When we call this property and validation take no place yet we will get HttpException. I find cool hack using which we can determine whether ASP.NET page was alredy validated. Is is ilustrated by following class: using...
    Posted to Web Forms (Forum) by Marian Kostal on 01-10-2007, 12:00 AM
    Filed under: validation, validate
  • Validation to exclude SSN from textbox

    Help! I need a validation control that will catch when users enter a social security number pattern in a textbox (with or without other content) and display its error message. Anyone have one or know how to use the standard controls to this effect? I've looked at RegExLibrary.com and have tinkered a...
    Posted to Web Forms (Forum) by julez on 01-03-2007, 12:00 AM
    Filed under: form, RegEx Match, RegEx, Web Controls, ASP.NET 2.0, Validators, forms, validation, validate
  • I would like to create the page on which I would have to type login and password to go to another page

    I would like to create the page on which I would have to type login (szmitek) and password (password) to go to another page (admin.aspx). I have created this page but I cannot login. Why? I use MS Visual Web Developer 2005 XE and MS Expression Web. <% @ Page Language ="c#" %> < SCRIPT runat...
    Posted to Security (Forum) by szmitek on 03-03-2007, 12:00 AM
    Filed under: event validation, ASP.NET, form, c#, submit, create web form, ASP.NET 2.0, asp.NET 2.0 C#, String, ascx asp.net c#, Datalist, event, Failed, validation, asp.NET 2.0 C# postdata web user control, accessible content, validate, Authentication, ASP.NET 2.0 bug, aspx, .net, adding controls, adding dynamic controls, Asp .net, access Web Form from User Control, accessing controls, username, OnAuthenticate, AuthenticateEventArgs
  • CustomValidator + Tooltip = Mysterious Linebreak

    I have a CustomValidator where I set the tooltip equal to my errormessage when invalid and text="*". This works correctly, however when .NET renders the span, it wraps the HTML onto a new line in the middle of the title attribute value, thereby causing the tooltip to also wrap where it isn't supposed...
    Posted to Web Forms (Forum) by MaritimeGirl on 03-30-2007, 12:00 AM
    Filed under: Validators, Custom errors, validation, validate, Valdiation Controls, CustomValidator, validation Controls
  • Validating a disabled textbox

    Hello all, I have a texbox that requires a date entry but uses a date picker to assign it a date value. But I need to not let users change the date in the textbox and only use the date picker. The problem is that if i either make the texbox readonly or diabled it appears that the RequireFieldValidator...
    Posted to Web Forms (Forum) by brainbug on 04-11-2007, 12:00 AM
    Filed under: Validators, validation, validate, validation Controls
  • Radio Button Validation in a .aspx file?

    Below are the radio buttons are that I want to validate. I would like to display some red text under the radio buttons like the rest of the validation is doing. Or if that's not possible just a alert box would work as well. Any thoughts? https://www.ucreditu.com/forms/jobapplication_test.aspx 'Determine...
    Posted to Web Forms (Forum) by xberserker on 04-12-2007, 12:00 AM
    Filed under: ASP.NET 1.x, ASP.NET, form, <%@ Page Language="VB" %>, Validators, forms, validation, forms radio buttons email, ASP.NET 1.1, validate, ValidationGroup, ValidationSummary, Valdiation Controls, Asp .net, validation Controls, asp .net 1.1 web form controls
  • 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
  • Validation Won’t not Run in One out of Four Servers

    I am developing four separate servers (localhost workstation, development server, QA and Production server using ASP.NET 2.0.50727. I have web application files, templates and configured web.config (this web.config is only file that set up the different values in each servers), in all four machines....
    Posted to Web Forms (Forum) by daveynin on 05-03-2007, 12:00 AM
    Filed under: validation, validate, Valdiation Controls, validation Controls
  • Simple Regular Expression (apparently)

    Hi, I've been trying to write a very simple Regular Expression for a password textbox, which consists of restricting the password length to between 4 and 20 characters, and having no whitespace. However, I can't find any easy way of doing this (I would like to have the whitespaces checked within the...
    Posted to Web Forms (Forum) by dotnetuk on 05-03-2007, 12:00 AM
    Filed under: validation, validate, regular expression, regularexpressionvalidator, Valdiation Controls, RegularExpression (?! ) expression, validation Controls, Regular Expression Validator, valdiation Controls ValidationGroup
Page 1 of 3 (21 items) 1 2 3 Next >