in

dotnet.org.za

South African .NET Developer Portal

Browse by Tags

Sorry, but there are no more tags available to filter with.
  • IFRAME - loading pages dynamically

    I wanted to load pages dynamically into an IFRAME, but then I realised that you can't access the src attribute from code-behind, not even if you add runat=server... Here is the solution: 1. Add runat=server to the IFRAME. 2. In the declarations section declare a HtmlGenericControl protected System.Web...
    Posted to Thea Burger's Blog (Weblog) by Thea Burger on 05-10-2005
  • EMAB EventLog errors

    I decided to use the Exception Management Application Block in our application, but after I installed it and tried to test it I got the following error: System.Security.SecurityException: Requested registry access is not allowed . After searching and suggestions that I should modify the registry I got...
    Posted to Thea Burger's Blog (Weblog) by Thea Burger on 01-19-2005
  • Datagrid: Get selected row's pageIndex

    The Problem: You have a multi page datagrid and you want to display and highlight the selected row which has been set programmatically. The datagrid doesn’t have built in functionality which you can use to determine on which page the row with the selectedIndex is. Solution: I have a datagrid on my page...
    Posted to Thea Burger's Blog (Weblog) by Thea Burger on 11-25-2004
  • Dte.olb could not be loaded

    After reinstalling my pc, (had to after I tried to crack something (I steer clear of this now :)) I got the following error when trying to open a newly installed Visual Studio.NET: “Dte.olb could not be loaded. Please re-run setup and repair your installation” So I repaired my installation...
    Posted to Thea Burger's Blog (Weblog) by Thea Burger on 09-13-2004
  • Redirect to login page when asp.net session expires

    Still sort of on the same topic, we want our users to be redirected to the login page when the session has expired. Can't add the neccesary code in Session_End as there is no HttpRequest when the server fires Session_End, so Response.Redirect/Server.Transfer won't work. I found a solution here that Andrew...
    Posted to Thea Burger's Blog (Weblog) by Thea Burger on 07-27-2004
  • FormsAuthenticationTicket, IsPersistent and HttpCookie.Expires

    I'm using Forms Authentication and Role based security for an app I'm working on. Ran into a problem that even though I set the IsPersistent parameter of the FormsAuthenticationTicket to true, next time I open the app I have to log in again... authTkt = new FormsAuthenticationTicket(1, userId, DateTime...
    Posted to Thea Burger's Blog (Weblog) by Thea Burger on 07-27-2004
  • UserControl Events Handled by Page

    Maybe you'll need it someday, maybe you've done it, maybe not :) But I needed to raise an event from a usercontrol, which had to be handled in the containing page. Why? Because I created a RowFilter for a DataView in the usercontrol, and this DataView needs to be bound to a DataGrid on the page. There...
    Posted to Thea Burger's Blog (Weblog) by Thea Burger on 07-15-2004
  • Errors: Type Abstract and Key in appSettings does not exist

    I ran into a problem yesterday where I have a base class from which all my aspx pages inherit from. When I swithed to design view it gave me the following error: The file could not be loaded into the Web Forms Designer .... Type Abstract. I love google groups and I got the answer there. “The reason...
    Posted to Thea Burger's Blog (Weblog) by Thea Burger on 06-03-2004
  • Set Service Login for Windows Service

    I was busy setting up a windows service when I got to the 'Set Service Login' dialog box. I entered the details of the local account that I created to run as a service and received the following error: “ System.ComponentModel.Win32Exception: The account name is invalid or does not exist, or the...
    Posted to Thea Burger's Blog (Weblog) by Thea Burger on 05-17-2004
Page 1 of 1 (9 items)
Powered by Community Server (Commercial Edition), by Telligent Systems