1 Replies - 2511 Views - Last Post: 15 August 2012 - 12:16 PM Rate Topic: -----

#1 itsjimmy91  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 77
  • Joined: 19-January 11

Validation Inside of an ASP Table?

Posted 14 August 2012 - 06:38 AM

Hey guys,

I am working with an ASP Table. I have a couple of text boxes that are editable inside the table and now I'm trying to add some Custom Validators to them. It seems like I can't add any type of validator inside of the actual table though. Is this right? And if so, how can I validate these text boxes?

Thanks.
Is This A Good Question/Topic? 0
  • +

Replies To: Validation Inside of an ASP Table?

#2 h4nnib4l  Icon User is offline

  • The Noid
  • member icon

Reputation: 1181
  • View blog
  • Posts: 1,675
  • Joined: 24-August 11

Re: Validation Inside of an ASP Table?

Posted 15 August 2012 - 12:16 PM

I've never had any problems using validators inside tables. Just put it in a cell, set the error message, and set ControlToValidate to the ID of your textbox. For a custom validator, you'll have to create the logic in code behind, and set OnServerValidate to the validation method.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1