C# - Webpage Hangs After The On_Unload Event?
Nov 24, 2010
I have a web application which hangs after clicking a checkbox which is set to autopostback. This checkbox is supposed to do some process.
It didn't fire the OnPreLoad and the OnLoad events.
Below are the codes
protected override void BindReference()
{
BindComboBox(ref rcbPortfolioId, CNPL_Portfolio.GetPortfolioDicWithAll());
BindComboBox(ref rcbProductId, CNPL_Product.GetProductDicWithAll());
BindComboBox(ref rcbNewAgencyId, CNPL_Agency.GetAgencyDicWithAll());
BindComboBox(ref rcbPreviousAgencyId, CNPL_Agency.GetAgencyDicWithAll());
[Code]....
View 2 Replies
Similar Messages:
Nov 24, 2010
I have a web application which hangs after clicking a checkbox which is set to autopostback. This checkbox is supposed to do some process.
When I did the breakpoint, the application does not go to the On_PageLoad event but goes directly to the On_Unload event. After that, it hangs. It does not go to the On check changed of the checkbox.
Here are the events that are only called after the checkbox has been ticked.
OnInitOnUnload
View 6 Replies
Aug 20, 2010
When a user clicks a button on a web form, i have some validation statments:
if x = 1
"goto www.google.com"
else
"goto www.espn.com"
How can this be done? I have read about the webbrowser.vavigate, but its not supported in asp?
View 3 Replies
Feb 8, 2011
how to print the whole asp.net webpage on single button click event iusing VB ?
View 2 Replies
Apr 6, 2010
I have a requirement to restrict double click event in a web page. How can this be achieved.
View 2 Replies
Feb 4, 2011
How to print a whole webpage in A4 Size Paper using asp.net / vb.net on button click event ?
I wanna print the Whole DIV tag and all the controls inside it ....
View 1 Replies
May 20, 2010
When viewing the click in firebug, the call turns red (i.e. error) but I can't see the error because the page redirects.
So is it allowed to call a remote website (in my case, its a 1x1 image using a standard url like [URL]
View 3 Replies
Jan 7, 2011
We've recently been experiencing an SSRS (SQL Server 2008) report displayed in an ASP.NET web application using the ReportViewer control (Microsoft.ReportViewer.WebForms,Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) hanging when rendering a report with over 100 rows and causing Internet Explorer (6, 7, 8) to use 100% (of one core) of CPU.The report renders quickly in Firefox (and doesn't use high CPU).
View 1 Replies
Jun 18, 2010
Visual Studio 2010 hangs up more tha 20 times in a working day. I'm thinking of going back to 2008 but that is such a hassle. Mostly it hangs when debugging starts and when I open a xaml file. I'm doing silverlight/WCF development.I have HP I7 laptop, 8gig, windows 7 64bit.
View 4 Replies
Jun 16, 2010
When I try to start my application in debug mode (F5), 1 out of three times IE opens with a blank screen, and Visual Web Developer says it cannot start the application. Sometimes it also says "Element not found". I can only shut down IE by using the task manager.
View 6 Replies
May 24, 2010
I'm having a simple ASP.NET application hosted on my local IIS6, under Vista.It contains a button that when I click I execute a piece of code for recognizing the text in a WAV file (using the System.Speach.Recognition.SpeechRecognition class) and display the text in a label.
The code works great on a desktop application, and it almost works on the web one... I say almost, because if I debug, I can see that the recognizer returns the correct text from the WAV, I can see that I am finishing the handler for the button click with no error, but nothing gets displayed in my page, and the page appears like loading... it's hanging, or something... No errors, no timeout, nothing. Just loading...
I don't know if this detail helps, but in order to make the piece of code that was already working on the desktop application work on the web application, I had to set the identity of the ApplicationPool of my application to LocalSystem (security breach, I know). Otherwise, I would have received a Access Denied error (0x80070005(E_ACCESSDENIED)).
View 1 Replies
May 1, 2010
We have an ASP.NET 3.5 application that has been in production for over a year. Our last release was a couple of months ago. We use CSS for styling and application of background images to divs and such. The server is Windows 2003 with IIS.
Suddenly, this week, we have had reports from some users that the page seems to hang up while loading. The status bar was showing the name of a background image used in the page main area (assigned in CSS). At our office, some of us could recreate the problem, while others could not. IE6 and Firefox do not seem to be affected, only IE7/8. Running Fiddler on an affected machine and trying to see what was happening with the requests seemed to make the problem go away (while running through Fiddler, it returned when not). Hitting Refresh on a hung load often made the page load just fine.
I checked the background image, and even replaced it with an archived copy. No joy. We re-deployed the app from our production source. No Joy. We restarted IIS and eventually rebooted the whole server. There are no unusual entries in the event logs, the app logs or the IIS logs. Finally, I removed the image entirely and re-styled the page not to use a background image. That solved the problem at least for now.
However, we have reports of other images "hanging." The images are PNGs, but I have heard some rumors that sometimes a GIF hangs, but I have no screenshot to confirm.
This just started happening "out of the blue." There have been no releases or updates applied to the server recently. We even checked updates on clients to see if a recent Windows Update might have caused this on the client, but there was nothing updated within the last couple of weeks.
View 4 Replies
Mar 14, 2011
I have a development box running Win7 and VS2010. A User Acceptance Testing server running Windows Server 2008 / Sql Server 2008 and a Live server running Windows Server 2008 / Sql 2008.
When doing development I connect to a development database on the UAT server.
I have a problem that only occurs when I change the connection string to point to the database on the Live Server.
So, before I start describing the problem - the app works fine in development and when published to the UAT server - but there is a problem when I either publish it to the live server or, whilst on my dev box, point the connection string to the live database.
Here's an example.
I have a page with a gridview on it. In each row of the gridview there is a drop down list. All calls to the database are done through a Data Access class.
Say I have a function on an .aspx.cs page called GetDetails().
In this - to populate the Gridview I'll have something like ...
Code:
[code]....
View 10 Replies
Feb 19, 2010
I am using update panel and Tab container of Visual Studio 2008 (VB .NET) in my pages, but in one of the pages I am having a problem. The page structure is something like a List Tab and Details Tabs. On page load LIST tab is visible and other tabs invisible. User clicks on a record and click Modify button. Then List tab gets invisible and other details tabs (4 of them) visible. Here I have OK (to save data) and CANCEL (do not save the data) buttons. On which the list tab again gets visible and other tabs invisible. Now here I am facing a problem. I have same functionality on my other pages also. But in this page when I click on OK or CANCEL button my application hangs after END SUB. My whole click event of both the buttons runs fine up to END SUB but after that the problem starts.
View 2 Replies
Oct 4, 2010
Developing a website in ASP.net. On the development site all is working fine.We decide to publish the site using visual studio 2008's publish mechanism.The publish goes flawless.When we go to the live site, it hangs anywhere from 2 minutes to 30 minutes before it starts serving pages.All other sites on the same server seem to work fine.If we reboot the server it starts serving pages right away.It is not a programming issue, as once the site kicks in all seems to work fine.VS 2008, .NET 3.5, On both IIS 6.0 and 7.5
View 3 Replies
Feb 18, 2010
I have a website that seems to be Ok in Mozilla but when I access some pages in IE (mostly the ones where it has to contact a web service) the page hangs. If I refresh and then click the same button again, it seems to work fine 90% of the time. As mentioned, the same features work flawlessly in Mozilla.I am not really sure where I need to go to start debugging this but does anyone have any ideas on a cause?The website is hosted on my machine which is running on localhost using IIS7 on Vista and the web service is hosted in the same place. (So all it should need to do is contact itself). Its is an ASP.NET website running framework 2.0 (something)
View 1 Replies
Apr 27, 2010
I start learning ASP.NET few days. I don't know why my computer hangs when I debug my very simple application? My computer hangs, not only IDE hangs?
View 1 Replies
Sep 28, 2010
I'm generating reports on the fly using the great SpreadSheetGear tool. At first things were great because the reports were simple and done in under 1 second. Now I'm at more complex reports and they are taking about 30 seconds up to 1 minute. This isn't a problem, we just throw up an activity image and let the user wait, fine by us.
The problem I've found is when two users come to the site.
User 1 comes to the site
User 1 runs a report that takes 30 seconds.
User 2 comes to the site
User 2 waits until user 1 report is done then the page loads.
The report running for User 1 hangs up the site until it's done. What is going on and how can I fix this?
View 2 Replies
Jun 1, 2010
I have a Main page containing links to five other pages. each page has a button which does some job using Thread. Problem is when i open a window from main page and click the button, The Process starts but if now i want to open another page from main window it doesn't load untill that previous page loads fully(when thread ends). I am not using any session variable on my page.
View 2 Replies
Aug 10, 2010
I have a website installed on one of our sales guys laptops and am having issues with the website hanging if left for 2 minutes. This doesn't happen on my dev box, my live machine or the other sales guys machine.
The website will hang. It's not just limited to this page, it will happen on all pages when I leave it for more than 2 minutes and then try and process a page that calls back via button or drop down ect. I have checked the IIS settings of the machine and everything seems the same as the other sales guys machine who is running the same version of the site.
Here are the specs:
Dev Box: asp.net 2, windows server 2008 64bit
Live Box: asp.net 2, windows server 2008 64bit
Working Sales Guy: asp.net2 windows 7 64bit
Broken Sales Guy: asp.net 2 Windows vista 32 bit (the only thing I can see different is windows version)
EDIT: For more information, if I stop the website from trying to load while it hangs, clear my history for the last hour and then refresh, the page comes back fine.
EDIT2: I have just spat out some debug information and it seems it doesn't even go into the post back I need.
EDIT3: This doesn't seem to happen when using Chrome but does when using IE and Mozilla.
View 1 Replies
Jan 17, 2011
ASP.NET MVC 3 was released on Jan 13, 2011. I was able to install it on my XP SP3 workstation. But, when I opened an MVC C# project, VS 2010 hangs. I have repaired VS 2010 and Framework 4.0 with no luck. The issue was resolved after uninstalling VS 2010 SP1 Beta. Does anyone know if ASP.NET MVC 3 works with VS 2010 SP1 Beta?
View 1 Replies
Mar 10, 2010
I have a server running Windows Server 2003 R2 Standard Edition (Service Pack2) and our IIS server is hosting about 20 different asp.net websites. I've never noticed this in the past, but when I debug an application and it stops at a breakpoint, the other websites hang as well. If I try to go to any of the other websites, then I just get a while page that's loading until i pass the breakpoint or I stop debugging.Does this have anything to do with application pools and if so, how do i fix it? Or if it does not, any ideas on how to fix this issue? I find myself debugging my apps often and I can't bring down all other applications when I do it.
View 2 Replies
Aug 25, 2010
I'm currently in the process of deploying my C# website. In the development IDE everything works fine but when i deploy to ISS 7 some of the pages work fine but others will just randomly hang. Ive been using the tracing utility and debug code to see where the problem is occurring. This is where it gets weird. If I turn on the tracer and set the pageoutput to true it works as fast as it does in the IDE without the hangs but displays all the tracing information. If i set the pageoutput to false and leave the tracer on, it will return to having the same problem. Ive put time outputs through the system and everything is running through quickly. So im at the point now where if i have the tracer displaying on the website there is no problem. But if i don't display the tracer the problem occurs and i cant see the logs to pinpoint it. The problem is occurring after EndRender. Sometimes it loads the top of the page and then hangs. The pages do complete but can take up to 10 seconds. . The same problem is happening in both IE and firefox.
View 3 Replies
Nov 11, 2010
have a web application hosted on Windows Server 2003 SP2 with IIS 6. I use ASP.net Web Forms and ASP.net AJAX.Some times, when clicking on a button to perform an action the web application does bot respond to the user.After debugging i have found that ErrorSys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 413
View 3 Replies
Oct 27, 2010
I have created a SSRS report with a tablix and some external images(both .png/.gif). This report is going to be generated for different Languages, so i have used Arial Unicode MS.
I render the report as Attachment on click of the print button (I flush() the byte[] array from the SSRS Render function as Respone on to the page). Report gets generated properly with open/save/cancel. But on click of OPEN the abode reader gets hanged. I tried to save the report and open, but no luck.
Size of the pdf is less than 150 kb. I have Abode ver 9.4 and SSRS 2008.
View 2 Replies