ASP.Net without code-behind ?

  • Thread starter leonard.guillaume
  • Start date
L

leonard.guillaume

Hi,

I got a simple ASP.Net page that redirects to another website by using
Response.Redirect. Since I don't write anything in the .vb, is there a
way to compile the .aspx without the .vb (since I don't use it) ?

Thank you,

Guillaume
 
E

Edwin Knoppert

You should have created the page without the codebehind flag (checkbox).
 
G

Guest

The aspx shouldn't need the code behind if it isn't referenced in the aspx.
If it's referenced at the top of your aspx just remove the referenced aspx.vb
and you should be fine.
 
M

Mark Rae

I got a simple ASP.Net page that redirects to another website by using
Response.Redirect. Since I don't write anything in the .vb, is there a
way to compile the .aspx without the .vb (since I don't use it) ?

Why even bother? Just make it a standard HTML page instead...
 

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,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top