Customizing Module Builder Templates
Hello,
I created a custom module using the module builder and want to customize the generated template to wrap the link around the image as below but it does not work and the image is not displayed.
<
ItemTemplate
>
<
li
class
=
"sfitem sfClearfix"
>
<
sf:DetailsViewHyperLink
ID
=
"DetailsViewHyperLink"
TextDataField
=
"Title"
runat
=
"server"
>
<
sf:AssetsField
runat
=
"server"
DataFieldName
=
"Photo"
/>
</
sf:DetailsViewHyperLink
>
</
li
>
</
ItemTemplate
>
Worked by removing TextDataField
=
"Title"
Hi,
We are glad to hear that you have found where the problem comes from. Thank you for sharing the information with the community.
Greetings,
Stefani Tacheva
the Telerik team