473,385 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

my web application doesn't appear in Interbet Explorer

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???


Nov 19 '05 #1
2 984
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

"vv" wrote:
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???


Nov 19 '05 #2
You may need to repair your IIS mappings.
Here's the instructions on how to do that:
http://SteveOrr.net/FAQ/3in1.aspx
http://support.microsoft.com/default...;EN-US;q306005

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"vv" <aa@aa.com> wrote in message news:cs**********@bagan.srce.hr...
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???

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Christopher Bohn | last post by:
(repost under MSDN account) When building a solution that consists of one managed C++ project with a project reference to a C# project in the same solution, there is a bug when trying to build...
13
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that...
3
by: blaq | last post by:
My latest project is almost done. It looks great in Firefox; I only have two IE bugs left to squash, yay! Please refer to http://www.blaqzone.com/Temp/Popfuel/ . Crib notes: - "reset.css" is...
0
by: alto | last post by:
After compeleting steps 1 to 5 of the Step-By-Step Guide to Converting Web Projects from Visual Studio .NET 2002/2003 to Visual Studio 2005...
3
by: illegal.prime | last post by:
Hi all, I have a service that needs to start a regular windows application. I'm running the service as ServiceAccount.LocalSystem. But, when it starts the process (using Process.Start) the GUI...
1
by: PHPBABY3 | last post by:
Hi everyone, A. I downloaded SOKKIT a while ago. I am able to write PHP programs (a.k.a. files or scripts) in directory c:\apache2triad\htdocc using Notepad, and run them by connecting to...
10
by: =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= | last post by:
Hi In my app I have a SplashScreen, a login form and a main form. On launching the app, I'd like to show the SplashScreen while reading config files and attempting a database connection. I show...
4
by: Karl | last post by:
Hi all, I want to write an application that is launched from the context menu in Windows Explorer/Computer. That is to say, when I am browsing around my hard drive and get to any location I...
7
by: SV | last post by:
I am using ASP.Net / VB.Net v 2005. I want to add text recognition to one of the text box of suburb in my form. What I want to do is when user type any character in that text box, one dynamic list...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.