You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Might be worth considering overriding tostring so you don't have to constantly call Render on a field. I can't think off the top of my head any issues this might arise - I never use IFieldWrapper's standard ToString() (which just returns the type name currently) so i don't see why a change like this might be problematic?
That way it can can neatly be used in webforms like:
<%= myItemWrapper.myFieldWrapper %>
The text was updated successfully, but these errors were encountered:
Might be worth considering overriding tostring so you don't have to constantly call Render on a field. I can't think off the top of my head any issues this might arise - I never use IFieldWrapper's standard ToString() (which just returns the type name currently) so i don't see why a change like this might be problematic?
That way it can can neatly be used in webforms like:
The text was updated successfully, but these errors were encountered: