• .NET

    Improving OpenAccess ObjectScopeProvider for Runtime Connection Config

    January 09, 2009 Share
    Phew! That's a long blog post title, but hopefully it clearly conveys what I'm about to show you. In my last post, I talked about where you should set your OpenAccess database connection strings. I showed you how you can define multiple database connections in your web.config (or app.config), simulating the idea of having a unique connection string for DEV, TEST, and PROD environments. So now that you have your connection strings set in a way that is easy to maintain, you need a way to easily to tell your OpenAccess persistent classes to use a specific connection at runtime. Let's look...
  • .NET

    Understanding Where to Set Connection Strings in OpenAccess

    January 07, 2009 Share
    When you start working with OpenAccess, one of the first tasks you're going to face is the need set a connection string to your database. And odds are, the connection string you're going to start with is not going to be the connection string your going to use on your production server. It might not even be the connection string your going to use in your test environment. Point is, you need to be able to store multiple connection strings and easily "cue" OpenAccess to use the correct connection details at runtime. Fortunately, OpenAccess makes this easy.   UNDERSTANDING OPENACCESS CONNECTIONS First things first:...
  • .NET

    Showing RadToolTip on RadInput input error

    December 12, 2008 Share
    One of the tools in the RadControls for ASP.NET AJAX suite that is getting a lot of attention these days is the RadInput control. More specifically, the RadInputManager. With this "Manager" control, you can easily add validation to any textbox on your page without littering your markup with ASP.NET validator controls. Plus, you'll get a much more dynamic validation experience when you use RadInput instead of the OTB (Out of The Box) ASP.NET validation controls and better page performance (since the manager enables you to save a lot of HTML and JavaScript). One of the other features of the RadInput textboxes, including textboxes...
  • .NET

    Easily persist RadTabStrip Selected Tab using client-side API

    December 05, 2008 Share
    While working on a recent "real" project for Telerik, I used the RadTabStrip for ASP.NET AJAX to provide users with a list of content they could navigate. It was simple enough. A RadTabStrip with a few tabs, a RadMultiPage holding each tab's content, and content on each pageview that linked to new pages in the website. With very little effort, I had a rich, tabbed interface that worked completely cross browser. But then during beta testing, a tester reported a bug: if they navigated to a new page by clicking on content in the TabStrip, then clicked their browser's back button,...
  • .NET

    dotNetRegister: Requirements

    August 26, 2008 Share
    Before we can begin any serious coding of the recently introduced "dotNetRegister" reference app, we need to define some some requirements. As with any good agile development effort, I want to create a backlog of features that need to be implemented and then prioritize development from there. I even intend to work on this application in sprints, though clearly, as a part time project, I don't expect to have a stellar burn-down rate. ASIDE: If any of these agile terms- like backlog, sprint, or burn-down rate- are unfamiliar to you, I highly encourage you to spend a little time becoming more...