473,425 Members | 1,842 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,425 software developers and data experts.

is my work environment damaged?

I'm starting to suspect something is damaged in my working environment.
(asp.net 1.1 and visual studio 2003)

for example: is this normal?
I add a label
I assign the label a value of "hello" in design time.
in codebehind, I change the value of the label.

private void Page_Load(object sender, System.EventArgs e)
{
if ( !Page.IsPostBack ) //if first time
{
Label.Text = "changed";
}
}

on a linkbutton command I try tro retrieve the label value. I always
get "hello". this is executed after Page_Load and IsPostBack equals
true.
viewState for page and labels is enabled. Is this normal?
protected void NavigationLink_Click ( Object sender, CommandEventArgs e
)
{
String theText = Label.Text; //I get "hello"

}
Also, several problems with pages that were working, and suddenly, the
buttons on them stopped triggering the event handlers, even if the code
to create such handlers was there. Should I reinstall?

Aug 2 '06 #1
1 1107
try running 'aspnet_regiis.exe -c' on the server which will register the
client side scripts.

- Augustin

"la********@gmail.com" wrote:
I'm starting to suspect something is damaged in my working environment.
(asp.net 1.1 and visual studio 2003)

for example: is this normal?
I add a label
I assign the label a value of "hello" in design time.
in codebehind, I change the value of the label.

private void Page_Load(object sender, System.EventArgs e)
{
if ( !Page.IsPostBack ) //if first time
{
Label.Text = "changed";
}
}

on a linkbutton command I try tro retrieve the label value. I always
get "hello". this is executed after Page_Load and IsPostBack equals
true.
viewState for page and labels is enabled. Is this normal?
protected void NavigationLink_Click ( Object sender, CommandEventArgs e
)
{
String theText = Label.Text; //I get "hello"

}
Also, several problems with pages that were working, and suddenly, the
buttons on them stopped triggering the event handlers, even if the code
to create such handlers was there. Should I reinstall?

Aug 2 '06 #2

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

Similar topics

5
by: Catherine | last post by:
I am having a problem viewing asp pages on iis version 5.1 xp pro. HTML pages are viewable on http://localhost but .asp pages are not. I have created a test program called timetest.asp with the...
1
by: Dagoberto | last post by:
can somebody tell me how can I get old data from a recently damaged table?
2
by: Raquel | last post by:
On Linux, suppose a recoverable database has crashed due to a damaged tablespace (the container on which the tablespace existed has gone bad). On restarting the database, I understand that the...
12
by: Rhino | last post by:
I am having an odd problem: the sqlj command on my system doesn't work. I am running DB2 (LUW) V8 (FP8) on WinXP. I haven't done an sqlj program since Version 6 of DB2 (LUW) so I checked the...
2
by: XXX | last post by:
Hi, I've got a problem with a damaged access 2000 database. When I try to repair and compact the database, the process starts normaly, but then (after appr. 50 %) it hangs. Neither is it...
0
by: maniac | last post by:
Gang: "There was an error opening this document. The file is damaged and could not be repaired." Has anybody had issue with not being able to open pdf in any browser using ..net application?...
1
by: MrWriteLA | last post by:
I've been trying to code a fairly uncomplicated program that will read some values from an Excel worksheet into Illustrator variables. I tried VBA first, being careful to add the Illustrator...
1
by: =?Utf-8?B?UnVzc2VsbA==?= | last post by:
Some sage tech told me, in an online discussion on how to keep my computer clean and working smoothly, that it was ok to delete all of the "downloaded program files" that reside in that internet...
4
by: muthu | last post by:
Hi, User will upload only picture and pdf files. I have return a asp.net application for that,But thing is I need to restrict the user uploading corrupted or damaged files. Can anyone have any...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.