my web application doesn't appear in Interbet Explorer

V

vv

I created a very simple web application and all I want to do
is this:
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here

Label1.Text = "hello";

}

But the IS shows a blank page or just (if I put it in a properties

window) default text of a label.

What to do???
 
G

Guest

Hi,

Has your page been created in Visual Studio and contains a code behind?

The code created by VS adds this line (to InitializeComponent)
this.Load += new System.EventHandler(this.Page_Load);

If it is just the aspx page without code behind - you need to register to
"Load" event.

If you are not sure that ths code is being called - try a dirty way. Put
there a line that will cause an error and see if it happens..

I hope that my answer is in the right direction.

Eric
 

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,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top