Search

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

Matching Posts

  • Re: Can a .dll reference a .cs file?

    I bought a canned e-commerce program, which included source code, that compiles into a dll file. After I make changes to the source code, I have to recompile the site and transfer the resulting dll files into the web site's bin folder. This is kind of a pain, because I'd like to minimize the changes to outside of the source code. I would like to put a "hook" in the source code to look for certain classes in my app_code folder, so that I can (1) physically separate my changes from the source code
    Posted to Architecture (Forum) by beatniks on 5/11/2007
  • Can a .dll reference a .cs file?

    Can a dll reference a .cs file that is kept in the App_Code folder? I have a all the source code to a web site that compiles and goes into a /bin folder. But, I'd still like to have the compiled dll reference a class in the App_Code folder, so that I could do some easy changes. Is this possible? Change the compile order?
    Posted to Architecture (Forum) by beatniks on 5/10/2007
  • Re: Is a "Provider" a DataSet?

    After a little digging, I realized that my problem is that I'm in-the-dark about Design Patterns, so I picked up a copy of Head First Design Patterns (O'Rielly). Fun read and am learing a bunch! Hopefully this will help. Thanks
    Posted to Architecture (Forum) by beatniks on 12/24/2006
  • Is a "Provider" a DataSet?

    Is a provider a substitution for a Data Access Layer? I recently started learning a new web commerce arcitecture that impliments the Provider Model for data access. I'm wondering if the Provider Model is another way to get data, just like using Visual Studio's DataSets (xsd files). I find the provider model confusing and don't understand the advantages. My question is: What is the provider model and why would someone want to use it? Thanks
    Posted to Architecture (Forum) by beatniks on 12/23/2006
  • Re: Same problem

    Change where tagPrefix="asp" to tagPrefix="ajax" . This worked for me. .... <pages> <controls> <add tagPrefix="ajax " namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add tagPrefix="ajax" namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </controls> <tagMapping> <add tagType
  • Re: Unable to cast object of type 'ASP.masterpage_master' to type 'ASP.masterpage_master'.

    Using the try-catch block seems to have helped me. But, as flukey as this error is, the jury is still out... Dim dt As New Data.DataTable dt = CType(e.message, Data.DataTable) Dim mp As New MasterPage mp = CType(Me.Master, MasterPage) Try mp.AdtoCart(dt) Catch ex As Exception 'log error End Try
  • Re: Dynamically adding html pages to aspx pages

    I pretty much already figured out how to do this, but I'm still having one small problem. Sub showFile(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataListCommandEventArgs) Dim sr As New IO.StreamReader("C:/wwwroot/" + e.CommandArgument.ToString) Label1.Text = sr.ReadToEnd.ToString End Sub Where e.CommandArgument.ToString is a filename. The problem I'm getting is a little square in front of the file when it displays. It looks like a missing picture, but there is no picture in the
    Posted to Web Forms (Forum) by beatniks on 2/7/2006
  • Dynamically adding html pages to aspx pages

    My short question: How do I dynamically include html files to a asp.net page? Background: I’ve inherited an old site that uses about 100 static html pages to be mixed with a new asp.net site. Here’s what I’m trying to accomplish: The user looks at a group of products, then a corresponding html file will be tagged on to end of the products page. A few facts: The HTML files are an absolute wreck (WYSIWYG), but they look nice in a browser. I’d like to be able to use them as they stand. Going through
    Posted to Web Forms (Forum) by beatniks on 2/7/2006
  • Re: Unable to cast object of type 'ASP.MyControlName_ascx' to type 'MyControlName'.

    Same problem here. If I rewrite the web.config file from my dev box to hosted site--forcing recompile--problem dissapears for awhile. No rhyme - no reason.
    Posted to Getting Started (Forum) by beatniks on 1/31/2006
  • Re: Unable to cast object of type 'ASP.masterpage_master' to type 'ASP.masterpage_master'.

    If I repost the web.config file to the host site, it seems to fix it, confirming jsalwen's post. I don't have to make ANY changes to the file.
Page 1 of 2 (11 items) 1 2 Next >