A web user control has been created in WebSite1. Can we use it in WebSite2, WebSite3
etc.

 Posted by Ddd on 1/18/2011 | Category: ASP.NET Interview questions | Views: 2492 | Points: 40
Answer:

Yes, you can use it in WebSite2, WebSite3

To use it in WebSite2

1)Go to the Solution explorer.

2)Click the root folder.

3)Right Click-->Add Existing Item

4)Add the web user control(.ascx and .ascx.cs files)

5)Drag and drop it on whichever .aspx webform you want.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response