Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timer Control, Ajax and Dropdown List Problem

Status
Not open for further replies.

jjme88

Programmer
Dec 28, 2007
58
GB
Hi I have an isue on an c# aspx web page which has to 2 Update Panels with an ajax scriptmanager.

The first panel contains a drop down list and a gridview. On selecting an item in the dropdown the gridview beneath it updates based on the seleted value.

The second update panel contains another gridview that needs to auto refrsh every 5 seconds. This second panle is completely independant of the first.

The problem is if a user wishes to scroll down and select an item from the drop down in the first panel if the second panels timer event kicks in it takes the focus away from the drop down list preveting the user from selecting anything unless they are really quick.

has aanyone else had this issue / know how I can work around it so both update panles are completely independent and dont interfear with one another?

ta
j
 
Is this question related to Asynchronous Javascript And XML or is it related to the Microsoft proprietary ASP.NET extension known as AJAX. If it's the first then please post the relevant code snippet and a link to the page. If it's the second then refer to forum855.

I notice that although you have asked almost 30 questions you haven't marked any of the answers as helpful, nor posted many 'thank yous' or posted any answers to other people's questions. If you haven't got any valuable answers then see faq222-2244 to see how to get better answers. If you have had useful answers see faq222-2244 to see how to acknowledge the good answers. The faq also gives some ideas about how you can contribute to the community.

If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top