Using Literal control instead of TextField in Profile Template
Hi,
I am trying to create a custom profile template for my application, and have editted the template, first i was using the TextField control but it just outputs loads of divs which i have no idea why anyone would ever need, so i want to output just the first name and last name (no labels) and i get this mess (not even sure it would validate)
<h3><
div
id
=
"Column1Content_C003_userProfilesFrontendDetailsRead_ctl00_ctl00_firstName"
class
=
"sfprofileFirstName"
>
<
div
id
=
"Column1Content_C003_userProfilesFrontendDetailsRead_ctl00_ctl00_firstName_ctl00_ctl00_textLabel_read"
class
=
"sfTxtContent"
>Roberto</
div
>
<
div
id
=
"Column1Content_C003_userProfilesFrontendDetailsRead_ctl00_ctl00_firstName_ctl00_ConditionalTemplates"
style
=
"display:none;"
>
</
div
>
<
div
id
=
"Column1Content_C003_userProfilesFrontendDetailsRead_ctl00_ctl00_lastName"
class
=
"sfprofileFirstName"
></h3>
<
h3
>Roberto Modica</
h3
>
Think i have found it, i think i can use:
SitefinityLabel