Tell me what you think: Changing file etension from .html to .aspx

P

Paul Johnson

The article says it all really. Nothing is proccessed on the page
unless it has runat="server" in the tag.
 
D

David Jessee

Well, if you have a static html page, the resulting compiled page class
generated by the runtime will look something like this:

Public Class PageX

Protected Sub Init()
dim local1 as new LiteralControl("<html><head>.......your page
content....</body></html>")
me.controls.add(local1)
End Sub

instead of loading a file, it will execute a method on a class im memory.
 

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
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top