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

Blank page after dropdownlist selection??

Hello,

I have developed an ASP.NET page, with a dropdownlist and some
textboxes. When a selection is made in the dropdownlist, some data is
retrieved from a database and displayed in the textboxes.

To to this, I've written some code in the selectedIndexChanged event of
the dropdownlist.

When a selection is made, it takes a few seconds for ASP.NET to retrieve
the data and display it. When I expand the dropdownlist again in those
few seconds, a blank white screen is displayed and I can't return to the
page anymore.

Does anyone know how to solve this problem?

Greetings,
Chris.


*** Sent via Developersdex http://www.developersdex.com ***
Jan 5 '06 #1
1 1395
> When a selection is made, it takes a few seconds for ASP.NET to retrieve
the data and display it. When I expand the dropdownlist again in those
few seconds, a blank white screen is displayed and I can't return to the
page anymore.


The easiest solution would be to write a Javascript function that is
run when the dropdown selection is changed (i.e. before the postback
occurs), which hides/disables the dropdowns, so the user cannot change
the value until the page is redisplayed with the data.

Jan 5 '06 #2

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

Similar topics

1
by: Jose Fernandez | last post by:
Hola I have this customvalidator <asp:CustomValidator id="ComboValidator" runat="server" ErrorMessage="CustomValidator" /> (The OnServerValidate method is set in Events windows of the Control...
6
by: Tony Doyle | last post by:
All, I have a web form with 3 embedded panels, all working fine. However, I have now added a Checkbox where autopostback=true, and only the ascx pages on my page appear, none of the panels /...
4
by: Chris Kettenbach | last post by:
Good morning all, I am sure this has been asked but I did not see anything. I have a datalist control. In the edititemtemplate I have a dropdownlist. I know on the itemdatabound event is where I...
4
by: Matt Jensen | last post by:
Howdy all Been searching and can't find a good answer to my problem. I've got a usercontrol 'banner' at the top of my page, and when the selection in the dropdown list changes I want the "host"...
0
by: Chris Zopers | last post by:
Hello, I have developed an ASP.NET page, with a dropdownlist and some textboxes. When a selection is made in the dropdownlist, some data is retrieved from a database and displayed in the...
3
by: syncwa | last post by:
Hi, My dropdownlist is binded to a sql datasource. I would like to have it list a blank entry on top and do not show real data before user select it. How can I do this.? Thanks
7
by: GaryDean | last post by:
In my old 1.1 apps the default was MS_POSITIONING="GridLayout" and Textboxes and labels and such always had POSITION: absolute; and I never had any distortion when the page was rendered. Life was...
7
by: Jim in Arizona | last post by:
Using this: <asp:ListItem Value="0"</asp:ListItem> as long as I have a value listed and leave the area between the tags blank, when viewed the DropDownList will show a 0 as a choice. I want it...
2
by: Jman | last post by:
I have a selection window, here are some dropdownlist if i click on an item in a dropdownlist the page reloads itself an puts the selected item in a textbox. Then i can search on the value in the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...

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.