I see lot of reference to implement XPM (Xperience Manager) in DWT. But i would like to know that How to make this working in C# and DWT? Say for Ex: if my Final HTML will be like below:
<P>This is Text</P>
I will write C# TBB, to fetch the value from component and push the value to DWT, in DWT, i will be having like @@text@@
This works fine in templating. But i would like to enbale inline editing for this field. I have enabled the site edit for the site and tried to edit the text field which is not working for me.
When i search, i understand that i need to use below, which means, can't i edit the value which i pushed from C# TBB?
@@FieldStartMarker(Fields.Address.HouseNumber)@@
@@FieldValueStartMarker()@@
@@Field@@
@@FieldValueEndMarker()@@
@@FieldEndMarker()@@