in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Problem with RequiredFieldValidator

Last post 12-11-2010 11:08 AM by louisd. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-14-2010 4:15 AM

    • Jukka
    • Not Ranked
    • Joined on 07-09-2010
    • Posts 1

    Problem with RequiredFieldValidator

    Hi!

    I'm trying to make alternative way to imput new product while keeping regular functionality. I palced multiviewcontainer and views for regular functionality and new ones to productedit site. The problem is that txtBaseSku's RequiredFieldValidator won't let multiview to switch views when txtBaseSku.text is empty. Is it possible to temporary disable validation? Any ideas how to fix this?

  • 12-11-2010 11:08 AM In reply to

    Re: Problem with RequiredFieldValidator

    Hi Jukka,

    If I have a web page with more than 1 submit button and validators, I contain the form fields in panels and set validation groups.  The Panel Control lets you specify the Default Button associated with the form fields.  I specify a validation group and set the controls that have validators to the same validation group within that panel.

     Louis Datz

Page 1 of 1 (2 items)