Overrride Property[xxx] method

Member since: 1996
 

Hi

 I thought I read some where a method to override the built in property[xxx] method.

Anyone that knows how to do it?

Need to fix that if I fetch data from another page that dont have the same master languge I get a null value from properties that aint language spesific.

Anders

#27947 Feb 13, 2009 16:25
  • Member since: 1996
     

    Found it

    EPiServer.Core.PropertyDataCollection.GetHandler = new GetPropertyDelegate(Test.BandwidthPropertyGetHandler.BandwidthPropertyHandler);

    http://blogs.interakting.co.uk/danmatthews/archive/2008/12/09/property-data-injection-in-episerver.aspx

    #27948 Feb 13, 2009 18:02
  •  

    Oh... nice to know.

    I hope you took the time to file this thing as a defect with support?

    #27963 Feb 15, 2009 14:55
  • Member since: 1996
     

    Have solved this. If anyone needs the fix, email me

    And sorry Fredrik, havent bothered with register it as a bug.

    #27971 Edited, Feb 16, 2009 11:59