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

Screen Repaint?

et
How do I get the screen to repaint?

I have a normal login process where the user clicks on the logon button, and
the logon is authenticated. An error is returned if the logon is not
validated, and the error is displayed via a div (div id=ErrorMessage, then
in code (ErrorMessage.InnerHtml = "Logon incorrect"). The user can then
retype the logon, and click the logon button again, and I'm trying to get
rid of the "Logon incorrect" message at that point and display another.
I've tried ErrorMessage.InnerHtml = "" in postback, under the button click
event, in the page prerender and unload and although during debug the code
is stepped through, the error never goes away. How do I repaint so the
error will go away so I can display another? Thank you.
Nov 20 '05 #1
0 1080

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

Similar topics

2
by: Adrian Lumsden | last post by:
Hello, I have an app where I have to screen scrape to capture an image from a JMF film player. The user is given a dialog with a list of frames that can be exported as images. If the one they...
1
by: edward hage | last post by:
The following program is an applet that reads a number from a file 10 times per second. It needs to be shown graphically. The file monitors a procesvariable and changes continuously. It is read...
0
by: Bo | last post by:
Hi The rectangles I draw in paint() always hide underneath the "Select one to launch" screen, while the string "Hello World" is drawn over the "to launch" screen. What am I doing wrong? jdk...
1
by: Bill K | last post by:
I am developing a winforms project in vb.net. I have several forms that have a number of controls, grids, etc. When I load these as MDI child forms, they load slowly AND they paint/repaint on the...
1
by: Phil Sandler | last post by:
I am having a strange problem with IE 6 and an image swap. I have a page with a dropdown list. The script changes an image on screen based on the value selected in the list. Simple enough,...
2
by: ΢ÈíÐÂÎÅ×é | last post by:
i want to abtain remote screen capture on the pc in LAN. i was suggested to transmit the changed parts only to save the bandwidth. so i divide the screen into 10*10 parts. and now , i need to...
3
by: jerry chapman | last post by:
Based on a mouse click I change something on the screen. I then want to repaint the screen to show the change. When I tried to use .Invalidate in my mouse routine, I got a compilation error. ...
4
by: VK | last post by:
As per discussion in the thread http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/117e4f3a30f4d1c3 I'm proposing to add new FAQ entry: ...
0
by: milkay | last post by:
<I have code that uses 2 images> the program creates a window and then when u press play, it removes all components in the container. then, i add a NewPanel object. i add mouse listeners and all...
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
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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
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.