can I re-use vb usercontrol in my c# web application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

using VS2005

I need to break a couple of pages out of a VB web app into its own. These
pages load a number of UserControls into a placeholder.

I want the new web app to be c# but will write in vb. How do I re-use these
controls?
 
Juan,

The first link was perfect. One thing the author left out was that the
CodeBehind/CodeFile attribute must be removed from the ascx pages.

This could happen with wsh file running a regex replace on *.ascx pages in
the pre-build action.
 
Back
Top