while I got error "using System.Web.UI" as namespace not found. I tried to figure it out by adding the reference. But unfortunately in the .NET tab I couldn't find System.Web.UI component while other components were there. How to solve the issue ?

EDIT: Okay, my original answer was based on the original version of the question...
Next up: do you have a reference to System.Web.dll which is the assembly which includes at least many of the classes in System.Web.UI?