Welcome to WebmasterWorld Guest from 3.227.233.78

Forum Moderators: ocean10000

Message Too Old, No Replies

Problem with multiple "<asp:button"s on same page.

Press one, works fine, press second, works fine, after that, page freezes.

     
9:23 pm on Feb 18, 2009 (gmt 0)

New User

10+ Year Member

joined:Feb 18, 2009
posts: 3
votes: 0


We have multiple asp:Buttons on our asp page, some of them are setup to trigger javascript code (btnResident.Attributes["onclick"] = "var rtn = openResidentWindow();";) other buttons do Response.Redirects to specific URL's and others just have typical C# or VB code behind them.

The problem we are experiencing is during debug mode, if we click on any two of the buttons that does page related work, the third button pressed causes the page to timeout and we get a "cannot display the webpage" . This makes it extremely hard to debug the code if that third button is a save button and the previous 2 buttons must be clicked to ensure that data is on the screen for the save to work.

If the project is published, this does not happen, but one cannot debug a published application.

Any help would be appreciated in understanding or working around this issue.

Thanks,
Kron