Help get this topic noticed by sharing it on Twitter, Facebook, or email.

How to use multiple condition in when client script ?

Dear All,

I wanna hide action buttons ("Edit" and "Delete") based on passing multiple condition, when I am passing like as below it's not working.

NodeSet().SelectActions("Edit" , "Delete").WhenClientScript("[RequestStatus] != 'D' || [RequestStatus] != 'R'");

It's working only in one condition.

NodeSet().SelectActions("Edit", "Delete").WhenClientScript("[RequestStatus] != 'D'");

Please suggest me for both (header and details) what need to change for above condition satisfied.

Thank you.

Regards,
Dhirendra Kumar Nayak.
1 person has
this question
+1
Reply