As i mentioned in my scenario, whn i will cleck on button2 it shud also validate button1 validation group.
Below is manipulated screenshot.
To clarify again button1 is having one validation group and button2 is having other validation group.
button1 can trigger independently of button2. but button2 should not trigger if button1 validation group dosent validate