Search

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

Matching Posts

  • ScriptManager not loading scripts added from dynamic control

    Hi there, We have a fairly complicated AJAX UI which uses a single page with a menu panel, that then dynamically reloads controls in the middle panel. One of these controls that gets loaded into the panel in turn loads a sub control that uses ScriptManager.Scripts.Add to add in a script. No matter what we try, this is just not working. It only works if we add a reference to the script using ScriptManager within the single main page the very first time it is loaded. Any control that gets loaded at
    Posted to ASP.NET AJAX UI (Forum) by GavinPollock on 12/18/2008
  • Image scaling algorithm incorrect

    line 125 of ImageHandling.cs changed from : scale = iOriginal.Width / maxwidth; to scale = ( double )iOriginal.Width / ( double )maxwidth; This otherwise would use integer division and produce a slightly incorrect scale. Some of my images were coming out a bit skewed and looked funny, so debugged this.
    Posted to Club Web Site Starter Kit (Forum) by GavinPollock on 3/28/2006
  • Re: Conversion from type 'DBNull' to type 'String' is not valid.

    The fix I decided to go with: Update the insert and update SQL statements to use isnull(@description,'') instead of just @description. A blank string will always be stored in the database instead of a null then.
    Posted to Club Web Site Starter Kit (Forum) by GavinPollock on 3/28/2006
  • Re: Getting starter kits to work with SQL Server 2005?

    oh yes... and it looks like you would need to do this as well: http://www.google.com/url?sa=D&q=http://forums.microsoft.com/MSDN/ShowPost.aspx%3FPostID%3D187922%26SiteID%3D1 Configure your .NET 2.0 to run with a different Roles Provider database by running aspnet_regsql.exe
    Posted to Club Web Site Starter Kit (Forum) by GavinPollock on 3/27/2006
  • Re: Getting starter kits to work with SQL Server 2005?

    I think the problem you had might be the same problem I experienced. Was trying to make the starter kits work with a remote SQL 2005 box, as I didn't want to have to have SQL Express installed on my dev machine. It was also the first time I was using Visual Studio 2005 on my machine. I was sure I had changed the connection string in the starter kit correctly, and it turns out I had. The related problem was that in your newly installed VS 2005, the machine.config (C:\WINDOWS\Microsoft.NET\Framework
    Posted to Club Web Site Starter Kit (Forum) by GavinPollock on 3/27/2006
Page 1 of 1 (5 items)