button on different panel doesn't fire

validation group

I had 3 tabs. in each tab there was 3 text box with required field validator and a submit button.
submit button in tab1 was working fine, but not working in tab2.

solution is assign validation group for everycontrol in each tab, like

open tab1, press ctrl key and select all controls i.e. text box, validator,button etc.

now go to property window and choose validation group

now type here a groupname like "tab1" or ur name etc.

these all control will bind with same validation group,, do same thing for other tab and controls.

thus validation group delimits the scope of all control to that particular tab.

Comments