London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Overrride Property[xxx] method

Vote:
 

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
Vote:
 

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
Vote:
 

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
Vote:
 

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
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.