Rank: Member Groups: Member
Joined: 9/4/2012 Posts: 10
|
Hello Can anyone help me i want to use RequiredFieldValidator1 with ToolBar1 in items not all control
For example:
item New : Do not scan or check the text box // do not Required Field Validator item Save : scan or check the text box // Required Field Validator
note: ToolBar CausesValidation = true
Required Field Validator all items I do not want only one item Required Field Validator
|
Rank: Member Groups: Member
Joined: 9/4/2012 Posts: 10
|
up
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
There is no built-in way for you to do that. Once you set CauseValidation to true, all toolbar items will perform validations. If you only want to validate one item, you can handle the ToolBar's ClientSideOnItemClick event, then perform your own validation logic inside the event handler with JavaScript.
Thanks!
|