The function System.Web.UI.StateBag.TrackViewState() is internal to the assembl System.Web (.dll) and hence I am unable to use is during test compilation. How to overcome this? Cheers, Gaurav Vaish ----------------------------