Search

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

Matching Posts

  • Re: .NET Xml Serializer

    Thanks for the reply! That I could do, but my problem is not really as simple as I descriped. I need to represent the data with custom objects in the end.
    Posted to XML and XmlDataSource Control (Forum) by DEHAAS on 11/28/2008
  • Re: .NET Xml Serializer

    I will take a look at it, but I would really like a solution that would work with version 2.0.
    Posted to XML and XmlDataSource Control (Forum) by DEHAAS on 11/27/2008
  • .NET Xml Serializer

    Hi, I am doing a little project using the .net xmlserializer. I have some hierarchical data in an xml-file like: <Person id=”1”> <Children> <Person id=”2” /> </Children> </Person> I would like a reference to the parent node when I deserialize the data. Meaning something like PersonID2.Parent would return the person with ID=”1”. Is there any way to do this?
    Posted to XML and XmlDataSource Control (Forum) by DEHAAS on 11/27/2008
  • Re: Implementing a cache layer

    It is a brilliant idea to do the caching separately from the DAL, and thereby reusing the caching functionality even if the DAL changes. I actually have implemented my caching in a layer all by itself: UI-->BLL-->CL(Cache)-->DAL. -- Maybe a good solution to this problem is returning the list as ReadOnly ( http://msdn.microsoft.com/en-us/library/e78dcd75.aspx ) in the normal GetItems() method, and then having a separate method for returning a list that can be manipulated (using a deep copy
    Posted to Architecture (Forum) by DEHAAS on 9/29/2008
  • Re: Implementing a cache layer

    Thank you very much for your response. I would like to develop a general solution for this problem in my application, so I guess I should go with the object cloning. Is it best practice to always return a cloned instance from the cache layer? I am also a little concerned about the resource impact this solution will have.
    Posted to Architecture (Forum) by DEHAAS on 9/28/2008
  • Implementing a cache layer

    I am currently in the process of implementing a cache layer in my application. I am caching some data that is mostly only read for rendering, and not manipulated. However, I am also developing some tools that allow administrators to manipulate this data. Before (without cache), when I needed to get a list of my dataitems, I would do something like this: DAL provider = new DAL(); provider.GetItems(); This worked fine, because a new instance of my collection was instantiated, and loaded with data every
    Posted to Architecture (Forum) by DEHAAS on 9/28/2008
  • Re: Dynimically adding controls to a webform

    Thank you very much for those articles. However, I still can't seem to get it working properly. I am initializing and adding the control to the control tree at the Init-event, as I am told by the articles. My data is still dissapearing after a postback. The control is there, but it has no datasource.
    Posted to Web Forms (Forum) by DEHAAS on 9/22/2008
  • Re: Dynimically adding controls to a webform

    I am not sure what you mean by "registed event".
    Posted to Web Forms (Forum) by DEHAAS on 9/22/2008
  • Dynimically adding controls to a webform

    Hi, I am working on a rather complex problem. I am stuck at this issue, and I hope some of you guys can help me out. I am trying to dynimically add a control to a webform. I have created the following samle code to illustrate the core of my problem: Markup: <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="Default.aspx.cs" Inherits ="_Default" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3
    Posted to Web Forms (Forum) by DEHAAS on 9/22/2008
  • Serving page without markup (using masterpage)

    Hi, I have created a new PageHanderFactory returning a new instance of a class inhertiting System.Web.UI.Page (ie. a page without markup). This generates no exceptions when executed, and the browser actually gets some HTML in return. Next I have created a simple MasterPage. On the page-class from above, I set the MasterPageFile property at the PreInit event to this MasterPage. This causes an "Object reference not set to an instance of an object." exception, with the following stack tace
    Posted to HttpHandlers and HttpModules (Forum) by DEHAAS on 6/9/2008
Page 1 of 4 (40 items) 1 2 3 4 Next >