ASP.NET RequiredField Validator

Discussion in '.NET' started by Vinitha, Mar 2, 2011.

  1. Vinitha

    Vinitha

    Joined:
    Mar 2, 2011
    Messages:
    2
    Hi,

    I added a RFV from code behind.

    txtPriceName.ID="txtPriceName";
    txtPriceName.Text = "";

    rflPLname.ID = "rflPLname";
    rflPLname.ControlToValidate = "txtPriceName";
    rflPLname.ErrorMessage = "*";
    rflPLname.ForeColor = Color.Red;

    But its not validating
    Vinitha, Mar 2, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sean

    Help: Requiredfield validator

    Sean, Jul 31, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    373
  2. Bryce Budd

    CheckBoxList RequiredField Validator

    Bryce Budd, Nov 22, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    6,293
    Bryce Budd
    Nov 22, 2003
  3. =?Utf-8?B?Vmk=?=

    RequiredField Validator question

    =?Utf-8?B?Vmk=?=, Nov 11, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    459
    =?Utf-8?B?Vmk=?=
    Nov 11, 2005
  4. Bryce Budd

    CheckBoxList RequiredField Validator

    Bryce Budd, Nov 22, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    223
    Bryce Budd
    Nov 22, 2003
  5. Sean

    Help: Requiredfield validator

    Sean, Jul 31, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    142
Loading...

Share This Page