Centre for Software Practice

the blog
Welcome to Centre for Software Practice Sign in | Join | Help
in Search

Browse by Tags

All Tags » asp.net
  • Failed to Enable Constraints error in DataTables

    This is an error I run into frequently and is frustrating because of course their is no indication of what constraint is being violated. So now I run through the three most frequent problems that will cause this: Having a primary key specified on the DataTable where a query can potentially return duplicates. Sometimes duplicates are unavoidable ...
    Posted to David Glance's Blog (Weblog) by David.Glance on November 19, 2007
  • Using multiple MasterPageFiles in an application

    We have an application that we have 2 skins for reflecting the 2 customers of the application. When I went to using skins, I defeined the MasterPageFile in the web.config file rather than switching it programmatically in each page. Unfortunately, this meant that every time I wanted to view a page in Visual Studio 2005, I had to put the ...
    Posted to David Glance's Blog (Weblog) by David.Glance on November 19, 2007
  • Good Error Reporting for ASP.Net Websites with MS-AJAX

    A requirement in many ASP.Net web applications out there is that you the developer know when your website breaks, the usual way was to use the Application_Error event and then send your self an email or write to a log file.  With the event of AJAX itergration into ASP.Net v2.0 the Application_Error event does not run when the request was an ...
    Posted to Tim's blog (Weblog) by TimHenstridge on July 20, 2007
  • AJAX in ASP.NET 2.0 - Introduction To The Basics

    This is a copy of the post on my blog Noiz Waves. AJAX has become quite the buzzword lately when it comes to Web 2.0. Luckily, AJAX is really easy to integrate into new and existing ASP.NET application; it's just a matter of adding some simple controls here and there. The best thing about AJAX in ASP.NET is that no complex coding is ...
    Posted to Adam's Blog (Weblog) by adam.n on April 17, 2007
  • IE only Stylesheets in ASP websites

    a very simple feature i implemented today was to make an IE only style sheet for my application i'm writing it only took 2 lines to make it work.  Firstly put the following line in your asp page (best place would be a master page): <link href=''Styles/IEStyle.css'' rel=''stylesheet'' type=''text/css'' runat=''server'' id=''lnkIEStyle'' ...
    Posted to Tim's blog (Weblog) by TimHenstridge on February 19, 2007
  • Enhanced Calendar with Next/Previous Year Buttons

    By default, Visual Studio 2005 includes a useful range of components for building ASP.NET web applications. Unfortunately these components are usually very basic and have restricted usability, but with a small amount of customisation become highly usable. Enter the world of User Controls. A User Control uses regular ASP.NET components as ...
    Posted to Adam's Blog (Weblog) by adam.n on February 11, 2007
Powered by Community Server (Personal Edition), by Telligent Systems