Search

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

Matching Posts

  • Re: SQL Cache Dependency

    I know this is old, but I was looking on about this error. Just make a new dependency as follows: using ( SqlConnection cn = new SqlConnection (m_ConnectionString)) { m_CommandString = " < Query > " ; cn.Open(); using ( SqlCommand cm = new SqlCommand (m_CommandString, cn)) { SqlCacheDependency dep = new SqlCacheDependency (cm); SqlCacheDependency dep2 = new SqlCacheDependency (cm); SqlDataAdapter da = new SqlDataAdapter (cm); DataTable dt1 = new DataTable (); DataTable dt2 = new DataTable
    Posted to State Management (Forum) by JFMConcepts on 8/27/2009
  • Cause a true PostBack from an Asynchronous trigger

    Without getting into the reason, I am attempting to cause a true "real" postback given certain conditions. Right now we are using some code that is working fine in IE and FireFox, but not in Chrome or Safari: Private Sub CallPostbackFromAsync(ByVal result As String) Dim sbScript As New StringBuilder() sbScript.Append("<script language='JavaScript' type='text/javascript'>" + ControlChars.Lf) sbScript.Append("<!--" + ControlChars.Lf) Dim str As
    Posted to ASP.NET AJAX UI (Forum) by JFMConcepts on 8/12/2009
  • Re: Cause a true PostBack from an Asynchronous trigger

    If fixed the problem so that it works with this suggestion: http://blog.lavablast.com/post/2008/10/Gotcha-WebKit-(Safari-3-and-Google-Chrome)-Bug-with-ASPNET-AJAX.aspx However, I am still looking for a better resolution to causing a true postback from an asynchronously running method in the code behind. Thanks
    Posted to ASP.NET AJAX UI (Forum) by JFMConcepts on 8/12/2009
  • Re: Default state for bound CheckBox control

    That works, but it sucks! There should definately be a default state for the Insert templates on the Checkbox control.
    Posted to Data Presentation Controls (Forum) by JFMConcepts on 6/22/2009
  • Re: DecryptStringWithIV - Invalid viewstate error

    I agree that this problem seems to be related to an IE8 issue/bug. We'll try your solutions, but we are concerned that this will not resolve the problem for the long term. Some investigation and response on the part of Microsoft about this issue would be reassuring. Do they know about it? Do they acknowledge it? If so, what is going to be done about it? Can some code be applied where we can override the asp.net's behavior to account for this issue or are we stuck waiting for IE8 upgrades
    Posted to Client Side Web Development (Forum) by JFMConcepts on 5/18/2009
  • Re: How to get web project to automatically attach to debug process?

    I am working on Visual Studio 2008. I have this problem with both 2005 and 2008 on Vista. I have no problems debugging, it is just that selecting Debug does automatically not attach to the process. This is only the case for web projects, and not for Windows applications and other project types. I am running with elevated privileges. Rarely and occasionally, VS will automatically attach. When it does, it will continue to do so on successive debug commands, but eventually it stops attaching and it
  • Re: Formview- Get primary key of newly inserted row

    Do NOT use @@identity. This returns the last primary key inserted for the table and not your transaction. This will appear to work, but if two people are using the system and inserting records at almost the same time the returned key will be wrong. SCOPE_IDENTITY() is the correct syntax for this.
    Posted to Data Presentation Controls (Forum) by JFMConcepts on 11/19/2008
  • Re: Connection sleeping

    Does anyone have a response about this issue? I too am seeing this problem on IIS.
Page 1 of 1 (8 items)