Strange Postback Problem in ASP .NET

It must be my week to find really obscure problems. I have this ASP .NET page where an editor is loaded in a frame. The editor consists of a textbox and a dropdownlist. The user can enter the first few characters of the target value, and tabbing off of the textbox causes a postback. On the postback the dropdown will be updated with the first match identified in the textbox.

If the user clicks the dropdown while the page is preparing to postback, the page disappears. Further, I can't load any other pages in the frame.

Take the page out of the frame, and it works flawlessly. This isn't really an option in my application, but I did it for testing purposes just to see.

Apparently someone else had the same issue and its a known bug.

Hopefully this blog will save someone else the 2 days of research that this problem cost me.

Now to figure out the best way to work around the issue...

Published Tuesday, May 03, 2005 4:05 PM by taganov
Filed under:

Comments

# re: Strange Postback Problem in ASP .NET

Tuesday, May 03, 2005 4:50 PM by Paul M.

Sounds like you should try a callback. It's available in ASP.NET 2.0 but you can make it work in 1.1 also.

Checkout info here: http://www.koinos.com/PermaLink.aspx?guid=76cf4bc7-d64a-4110-9af4-81d8bc65210f

You'll basically have to get a string back and then parse it and stuff it into the drop down list but it will work.

# re: Strange Postback Problem in ASP .NET

Tuesday, May 03, 2005 5:13 PM by Brent

What about using Javascript to replace whatever the postback is doing?

# re: Strange Postback Problem in ASP .NET

Thursday, August 21, 2008 1:45 AM by vamshireddyk

Hi,I am facing the same problem,Did any one found a solution for this

Leave a Comment

(required) 
(required) 
(optional)
(required)