I have to make some checks through WebServices before I save/update. Can I stop my buttons from doing any Insert/Update action? And ofc leave the edit-form open if validation fails.
Yeah I can usew that but I need to do some custom things so I need to manually do it if possible.
I noticed that If I have a blank CommandName on button no action is taken ... But if I set CommandName="PerformInsert" in code in my button things happen.
Only problem is when I do like this DataItem is lost after postback so I have to preserve DataItem in ViewState manually