Search

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

Matching Posts

  • App_Offline + Images and Other Limitation

    I recently discovered the wonderful App_Offline.htm file for displaying an Under Construction/Maintenence message, however I have come across two limitations to it that I have found a way around. First, the ability to display images on the App_Offline.htm page. I have a directory "images" in my application that is public access (through the web.config file). However, because the App_Offline file unloads the application, none of the images I link to show up (<img src="images/logo.jpg">, etc
  • Re: Odd behavior with the builtin ASP.NET Development Server in VS 2005

    I stumbled across your post because I was having a similar problem (images loaded in IIS, but not in Cassini/Development Server). I found that the problem was that I was using Forms Authentication to protect all of the site's resources (images/stylesheets/etc). If I login using the crippled screen, all the images work fine, even when I go back to Logon.aspx page. I have since moved my public images and stylesheets to public directories that are not protected by Forms Authentication (I did this using
    Posted to Visual Studio 2005 (Forum) by tmgneuguy on 5/5/2006
  • Re: Yet Another Class Design Question

    Thank you everyone for the great responses and ideas. It looks like I still need to do some research on lazy-loading versus prefetching based on our applications needs. Thanks again.
    Posted to Architecture (Forum) by tmgneuguy on 4/6/2006
  • Yet Another Class Design Question

    I am migrating an ASP application to ASP.Net and am trying to implement a 3-tier architecture at the same time. So far I have the Presentation Layer (.aspx pages & code behind), the Business/Logic Layer, and the DataAccess Layer. My question has to do with the fact that a lot of my tables hold integer values that link to data in another table (a basic example is iStatusId holds 1 for "Active", 2 for "Inactive", etc. Generally they are more complex lookups than just a Status). What is the best
    Posted to Architecture (Forum) by tmgneuguy on 4/5/2006
  • Display Data From Multiple Lookup Tables Using 3-Tiers

    I have a question regarding being able to return the values of multiple lookup ids when using a 3 tier setup. In my Business Tier, I have an Employee class that has an employee_id, employee_name, department_id, job_title_id, location_id, status_id, as well as other fields. The department_id, job_title_id, location_id, and status_id all have lookup values stored in 4 different tables (The information stored about each is completely different). With the 3 Tiers I have now, when I retrieve a list of
    Posted to Architecture (Forum) by tmgneuguy on 3/9/2006
  • Complex Form Binding

    We are migrating our Web Application from ASP to ASP.net (finally). Our application involves very complex and often lengthy forms. We currently use lots of Javascript to determine which parts of the form to show. Ie. If a checkbox is checked, we may display 4 more textboxes that would normally be hidden. Because most of our forms are so complex, I don't see using some of the drag and drop controls (gridview/detailsview/formview) as solving our problem. Rather, I was looking into the possibility of
    Posted to Web Forms (Forum) by tmgneuguy on 3/8/2006
  • Re: Solution: Show Header/Footer of Gridview with Empty Data Source

    I accidentally left out a relatively key part of the code... oops! The main If block " If ds.Tables(0).Rows.Count = 0 Then" needs to have a Else statement for when the data source has records. It should read like this: If ds.Tables(0).Rows.Count = 0 Then 'Add a blank row to the dataset ds.Tables(0).Rows.Add(ds.Tables(0).NewRow()) 'Bind the DataSet to the GridView gridView.DataSource = ds gridView.DataBind() 'Get the number of columns to know what the Column Span should be Dim columnCount as Integer
    Posted to Tips & Tricks (Forum) by tmgneuguy on 2/8/2006
  • Solution: Show Header/Footer of Gridview with Empty Data Source

    After coming across the problem regarding not being able to see the header or footer of a GridView when the data source is empty, I have come up with a fairly clean solution (at least IMHO). I saw a couple other solutions in the forums that gave me some ideas along with an article at http://weblogs.asp.net/despos/archive/2005/06/30/416783.aspx that really got me pointed in the right direction. The one thing that I wanted to change about the aforementioned link was that no text was displayed to the
    Posted to Tips & Tricks (Forum) by tmgneuguy on 2/6/2006
Page 1 of 1 (8 items)