Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP.NET RequiredField Validator

Reply
Thread Tools

ASP.NET RequiredField Validator

 
 
Vinitha Vinitha is offline
Junior Member
Join Date: Mar 2011
Posts: 2
 
      03-02-2011
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RequiredField Validator question =?Utf-8?B?Vmk=?= ASP .Net 4 11-11-2005 09:01 PM
CheckBoxList RequiredField Validator Bryce Budd ASP .Net 0 11-22-2003 11:49 PM
CheckBoxList RequiredField Validator Bryce Budd ASP .Net Building Controls 0 11-22-2003 11:49 PM
Help: Requiredfield validator Sean ASP .Net 2 07-31-2003 04:07 PM
Help: Requiredfield validator Sean ASP .Net Datagrid Control 2 07-31-2003 04:07 PM



Advertisments