IDataListSourceValueConverter
conversion methods never fire?
#300
Replies: 2 comments 11 replies
-
@s6admin Sorry to hear that this has been a blocker for the past few weeks! 😬 Can you clarify if the custom data source is implementing the The |
Beta Was this translation helpful? Give feedback.
-
I'll join in on this one as I had a similar experience and figured that what was wrong in my situation. I had the following scenario: I added the But I never got any breakpoint-hits in the I did run the exact same code in the latest source code in the develop-branch and when running in that project the breakpoint did hit. What's the difference!!? Turns out that I did add the property to a view in when testing in the source code-project. I went back to my other project and made sure to render the values from my property in a Razor-view. After rendering the value in a view the breakpoint starts to hit. The problem here is that when I was only looking at the values in the VS-debugger the breakpoint did not hit - but when rendering on the page the breakpoint is hit. Not sure if this is the same underlying issue but figured I'll share my experience if it helps anyone. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi leekelleher,
Been stuck on this for weeks so I'm hoping you can offer some insight. Currently on the 4.4.0 branch, but haven't had success in ANY branch so I don't believe its version-specific.
Originally followed the documentation example to create a TimeZoneInfo DataList Source, but the ConvertValue() method is NEVER called. I can see it is referenced during the TryGetPropertyTypeConfiguration method, but it is never executed when working on applicable nodes. The GetItems() method is called, so I'm pretty sure that the class is wired up correctly.
I assumed this would be where picked values could be manipulated before they are passed to the backoffice model. Am I completely wrong about that?
Beta Was this translation helpful? Give feedback.
All reactions