Search

You searched for the word(s): userid:754011

Matching Posts

  • Re: Application design

    Hi, From my understanding, the 2nd question is about multi-thread programing. At first, I should declare that multi-thread can not help you improve the performance of your processing of all the reports. On the opposite, it will increase the performance burden of creating and destroying threads. But multi-threading can help to improve the interaction with the user. It is incredible to create about 500 threads for each report to process. I suggest you to use thread pool to do that. Just like asp.net
    Posted to Getting Started (Forum) by jocc on 9/25/2007
  • Re: Application design

    For 1st question, you can use trigger to do that. Here is a brief about trigger: http://www.codeproject.com/database/SquaredRomis.asp There is another option is to use another process to act as a service, which timely checks the reports status in database. And whenever it finds some reports unresolved, it processes them and after that it updates the status of them to resolved. This method will involve a performance drawback cause it will check the database even if no unresolved ones. For 2nd question
    Posted to Getting Started (Forum) by jocc on 9/24/2007
  • Re: How do I read the pdf files and view it on the web?

    Follow the code below. private void Page_Load( object sender, System.EventArgs e) { if ( Request.Params[ "File" ] != null ) { bool bRet = false ; int iTimeout = 0; while ( bRet == false ) { bRet = CheckIfFileExist(Request.Params[ "File" ].ToString()); Thread.Sleep(1000); iTimeout++; if ( iTimeout == 10 ) break ; } if ( bRet == true ) { Response.ClearContent(); Response.ClearHeaders(); Response.ContentType = "Application/pdf" ; try { Response.WriteFile( MapPath( ""
    Posted to Getting Started (Forum) by jocc on 9/24/2007
  • Re: run reflector inside VS2005 IDE

    Hi there, TestDriven.NET supports this function. http://www.testdriven.net/ Hope it helps.
    Posted to Visual Studio 2005 (Forum) by jocc on 9/19/2007
  • Re: Through error while auto-refresh UpdatePanel

    Hi there, You can do client error handling as following code. <script type="text/javascript" language="JavaScript"> function pageLoad() { // Handle the endRequest event for partial updates var manager = Sys.WebForms.PageRequestManager.getInstance(); manager.add_endRequest(endRequest); } function endRequest(sender, args) { // Do your own error handling here $get("Label1").innerHTML = args.get_error().message; // State that you're done with the error handling
  • Re: Validation in latest ASP.Net AJAX Release?

    Hi there, I don't think ASP.net AJAX v1.0 includes the validation controls. Here is a temporary way to support validation: http://blogs.msdn.com/mattgi/archive/2007/01/23/asp-net-ajax-validators.aspx Hope it helps.
  • Re: document.getelementbyid(...) is null or not an object

    Please try document .getElementById , be care of the cases. Javascript is case sensitive.
    Posted to Getting Started (Forum) by jocc on 9/19/2007
  • Re: Ensure date handling in UTC format?

    This is a good article about UTC: http://aspnet.4guysfromrolla.com/articles/081507-1.aspx
    Posted to Localization (Forum) by jocc on 8/29/2007
  • Re: controls outside Updatepanel

    To find a wizard auto generated button, please refer to: http://forums.asp.net/p/975124/1391832.aspx#1391832 You can find the button like this: ((Button)(Wizard1.FindControl( "StartNavigationTemplateContainerID$StartNextButton" ))).BackColor = System.Drawing.Color.Blue; ((Button)(Wizard1.FindControl( "FinishNavigationTemplateContainerID$FinishPreviousButton" ))).BackColor = System.Drawing.Color.Blue; After you find the button, you can register it as full page postback like this
    Posted to ASP.NET AJAX UI (Forum) by jocc on 8/28/2007
  • Re: Why am I getting this Error? How to serializable an checkbox

    You can not serialize checkbox, because it is not serializable. Actually no control is serializable. But you can save the data such as ID for all the checkboxes in viewstate, depends on which you can recreate the checkboxes.
    Posted to Getting Started (Forum) by jocc on 8/28/2007
Page 1 of 3 (24 items) 1 2 3 Next >