View Single Post
  #1 (permalink)  
Old March 22nd, 2010, 06:29 PM
RegisterRR RegisterRR is offline
Registered User
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unit test for Controller question.

http://p2p.wrox.com/content/articles...spnet-webforms

I followed the directions in the above article from this book, I ran into many questions. When we have an interface for the view, assuming that we need to have all the controls the page has in the interface.

In the code behind if we implement the interface, then how do we implement all the properties and methods in the interface in code behind?
In the article, we don't see any implementation for

event EventHandler DataRequested;
List<string> Data { get; set; }

in the code behind where it throws error.