Web application projects changes to the aspx page has no effect.

B

Bjarke

Web application projects

I have a little assignment where I have to make some changes to a Web
Application Project, and there are some basic information I have spent
lots of time figuring out, So you can really make me happy if you can
help me find the problem.

The problem is that I have to make some changes to the start page. The
strange thing is that when I write some new code in the aspx file and
build the site the changes I made to the Axpx file doesnt show on the
final HTML page.

Just to make sure I added this line into the aspx file.

<div style ="z-index:999999999; postion:absolute; top: 100px; left:
100px;>Is this text visible to anybody?</div>

when the page is built I tried to locate the new div tag. Even when I
look at the page source I cant find the new HTML.

The project uses masterpages.

another funny thing is that the start page hasnt got any body or head
tags, but in spite of this it works fine.

Any help will be appreciated.

Bjarke
 
B

bruce barker

your deployed site is precompiled, so the pages are empty, as they have
already been compiled. they are just there for iis security to work.

you must rebuild the site and deploy (may have a dll per page, so only
that dll needs to be uploaded). see aspnet_compiler.exe docs for
switches or if done with vs2005, see its docs.

-- bruce (sqlwork.com)
 

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

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top