Posted on: 8/11/2014 10:51:50 PM | Views : 414

I created an ASP.net web site using VB web forms a while ago. Works like a charm.
But I now have a requirement to run C# code on that web site.
I use MasterPage.
In VisualStudio 2013, I added a "New Item", a C# web form. So far so good.
The problem started when, in the code behind, I try to access the content of a textbox.Text property.
Invariably, the compiler has no clue what to do with my request. I loose IntelliSense. It's wreaking havoc.
I checked and double checked and triple checked everything. I have a button on my web form and in the Click method of that button, there is nothing that I can type here that is recognized as legal by the compiler.
Of course, I restarted VisualStudio many time to no avail.
I don't think it's anything "obvious"? I suspect I crossed a boundary line by hoping to mix VB code behind and C# code behind.
I had a C# class what was working just fine in a regular ...

Go to the complete details ...