Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

TFS 2012 Web Access Custom Control : How can I discontinue the "saving" of a work item

$
0
0

Hi, I´m developing a TFS 2012 web access custom control and I need to check some fields when workitem is saving. If breaks the rules, we shouldinterrupt the "saving"  of current workitem and all the fields hold the new values. 

I’ve just implete the same feature for Visual Studio through throwing a "ValidationException" but I don't know how to achieve the same at web access control.

public void Throw()
        {
            throw new ValidationException(_errorMessage.ToString());
        }

Anyone could help me?


Viewing all articles
Browse latest Browse all 6687

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>