ASP.Net without code-behind ?

  • Thread starter Thread starter leonard.guillaume
  • Start date 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
 
You should have created the page without the codebehind flag (checkbox).
 
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.
 
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...
 
An HTML page can't do a Response.Redirect...

Mark said:
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

Back
Top