473,757 Members | 2,066 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form not refreshing after autopostback unless keyboard or mouse mo

LRD
Form not refreshing after autopostback unless keyboard or mouse move

Hi,

We created several new ASP.NET C# forms for our intranet. In each form we
use panels for different sections of the form that are visible or not
depending on what the user is doing.

Each particular form.aspx page has a user control on it. This user control
contains the form HTML and the C# code.

The form.aspx page that calls the user control is using
SmartNavigation ="true" in the page directive.

First - the user enters the data. When they are in "Data Entry" mode, there
is a panel that is not visible unless the user selects "Yes" on a field just
above the panel. Some of the settings for this field are as follows:
runat="server" AutoPostBack="T rue"
OnSelectedIndex Changed="rblCus tImpactSelectio n_Change"

So - the form posts back and when it posts back, the code tells the page to
make a particular panel visible. This panel contains an additional field for
data entry. But, the screen seems to be frozen. Only when the user moves
the mouse or taps a key does the screen refresh with the now visible panel
showing. It does "partially" refresh - up to the panel - but not really.

This is just one example. After the user completes the data entry, and if
there are no data entry errors, the user presses the "Next" button. The user
is now supposed to see an entirely different panel that shows the user the
data that was just entered and asks them to confirm or modify the data entry.
Again, the page does not update correctly unless the user presses a key or
moves the mouse.

Has anyone else experienced this? We are using a release build - in case
that could be influencing the situation.

I would greatly appreciate any guidance you can give me.

Thank you in advance,
Laurie

Nov 22 '05 #1
2 2733
Hi Laurie,

Set the SmartNavigation to False and see if that changes anything. Also do
you have any javascript that runs when the page is loaded? OnLoad() body
tag event. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"LRD" <LR*@discussion s.microsoft.com > wrote in message
news:AC******** *************** ***********@mic rosoft.com...
Form not refreshing after autopostback unless keyboard or mouse move

Hi,

We created several new ASP.NET C# forms for our intranet. In each form we
use panels for different sections of the form that are visible or not
depending on what the user is doing.

Each particular form.aspx page has a user control on it. This user control contains the form HTML and the C# code.

The form.aspx page that calls the user control is using
SmartNavigation ="true" in the page directive.

First - the user enters the data. When they are in "Data Entry" mode, there is a panel that is not visible unless the user selects "Yes" on a field just above the panel. Some of the settings for this field are as follows:
runat="server" AutoPostBack="T rue"
OnSelectedIndex Changed="rblCus tImpactSelectio n_Change"

So - the form posts back and when it posts back, the code tells the page to make a particular panel visible. This panel contains an additional field for data entry. But, the screen seems to be frozen. Only when the user moves
the mouse or taps a key does the screen refresh with the now visible panel
showing. It does "partially" refresh - up to the panel - but not really.

This is just one example. After the user completes the data entry, and if
there are no data entry errors, the user presses the "Next" button. The user is now supposed to see an entirely different panel that shows the user the
data that was just entered and asks them to confirm or modify the data entry. Again, the page does not update correctly unless the user presses a key or moves the mouse.

Has anyone else experienced this? We are using a release build - in case
that could be influencing the situation.

I would greatly appreciate any guidance you can give me.

Thank you in advance,
Laurie

Nov 22 '05 #2
Hi Laurie,

Set the SmartNavigation to False and see if that changes anything. Also do
you have any javascript that runs when the page is loaded? OnLoad() body
tag event. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"LRD" <LR*@discussion s.microsoft.com > wrote in message
news:AC******** *************** ***********@mic rosoft.com...
Form not refreshing after autopostback unless keyboard or mouse move

Hi,

We created several new ASP.NET C# forms for our intranet. In each form we
use panels for different sections of the form that are visible or not
depending on what the user is doing.

Each particular form.aspx page has a user control on it. This user control contains the form HTML and the C# code.

The form.aspx page that calls the user control is using
SmartNavigation ="true" in the page directive.

First - the user enters the data. When they are in "Data Entry" mode, there is a panel that is not visible unless the user selects "Yes" on a field just above the panel. Some of the settings for this field are as follows:
runat="server" AutoPostBack="T rue"
OnSelectedIndex Changed="rblCus tImpactSelectio n_Change"

So - the form posts back and when it posts back, the code tells the page to make a particular panel visible. This panel contains an additional field for data entry. But, the screen seems to be frozen. Only when the user moves
the mouse or taps a key does the screen refresh with the now visible panel
showing. It does "partially" refresh - up to the panel - but not really.

This is just one example. After the user completes the data entry, and if
there are no data entry errors, the user presses the "Next" button. The user is now supposed to see an entirely different panel that shows the user the
data that was just entered and asks them to confirm or modify the data entry. Again, the page does not update correctly unless the user presses a key or moves the mouse.

Has anyone else experienced this? We are using a release build - in case
that could be influencing the situation.

I would greatly appreciate any guidance you can give me.

Thank you in advance,
Laurie

Nov 22 '05 #3

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

Similar topics

1
392
by: LRD | last post by:
Form not refreshing after autopostback unless keyboard or mouse move Hi, We created several new ASP.NET C# forms for our intranet. In each form we use panels for different sections of the form that are visible or not depending on what the user is doing. Each particular form.aspx page has a user control on it. This user control contains the form HTML and the C# code.
8
3422
by: Nolan Martin | last post by:
Is it just me or are there no good librarys out there to access the keyboard or mouse? I have been looking around for a while now and can only find ones that are bundled with a bunch of other stuff that I dont need (SDL, GLUT). I just need a simple platform independant way to access the keyboard and mouse. Anyone know of any good ones?
8
12687
by: NeoAsimov | last post by:
Hello, There is what I want to do. I worked on the problem since 6 hours but I had a problem (probably stupid) and I dont know how to resolve it. I need to have an Mouse Event Click when I click on the frame of a window form ( like the title bar of a window).
7
2316
by: marcia | last post by:
In a Web Form with a Button and a TextBox, when I type some characters in the TextBox (AutoPostBack == false) and then hit the Enter key on the keyboard, the Web Form goes to the server (as though I had pressed the Button). I want the Form to go to the server when the Button - and not the Enter key - is pressed. ???
8
2045
by: Martin | last post by:
I hope not, but, I think the answer to this question is "it can't be done". Northwind sample database. Orders form. Go to a new record. Select a customer in "Bill To:" Don't enter any products whatsoever. Now click or page up/down away from this new record. You just created a new order without a single item having been ordered. Not something a user should be able to do.
16
10936
by: dfaber | last post by:
Hi all, I have been searching for a keyboard and mouse tracker on linux. I've read solutions (watch at sourceforge) which look at /proc/interrupts to check keyboard or mouse activity. I also read one post where "watch" seems to have difficulty tracking usb keyboards and mice. So, I'm out of ideas here. My goal are: 1. Check keyboard activity. I'm not interested in logging which keys are pressed or record them.
9
5135
by: Rob | last post by:
When a custom control is used within a form, that control does not get events directly. I've run into this a couple times with both mouse and keyboard events. Ex: A custom control inherits from UserControl (or Panel, etc). If that particular control is being edited, it IS possible to assign handlers and get events. However, when the control is used on the main form, assigning a handler to the particular control does nothing--the...
0
2750
by: neonspark | last post by:
I'm buidling some simple macro functionality for my app so the users can record a sequence of keyboard inputs and replay them reliably via some menu. Originally, I used: protected override bool ProcessCmdKey(ref Message msg, Keys keyData) To map "Keys" objects to their string constant, and stored them on a string Queue as they were happening. Then (after resetting the form), I simulate replaying of these actions by flushing the queued...
18
3111
by: sweeneye | last post by:
Hi, I'm basing a query on the variables used in a form. The database contains lots of problems, say with a computer and a tick box for the apropriate component like monitor, keyboard, mouse etc. and each has several eg problem 1 has a monitor and mouse problem My form then has what to look for tick boxes (tri-state) for each of these. I want my query to include all monitor problems when that is ticked and all monitor and mouse problems...
6
1378
by: yasirkhan | last post by:
Hi, i am new in .net, and i am confused how to set cursor position in textbox. I have made an application of keyboard and other application of User Info. when i run my applications then the form named User info opens. in this form i have a text box, when this textbox is clicked then keyboard opens. But when i type a word from my keyboard application into the text box, then the cursor is disappeared. i want some help about this problem....
0
9487
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10069
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9904
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9884
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8736
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5324
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3828
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3395
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.