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

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?
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,058
Members
48,769
Latest member
Clifft

Latest Threads

Top