SOLUTION:
1. My recommendation is to use the Fieldrender if possible. There are many types supported, even Images.See the list of supported types here:
2. If you use the sc:Text control, be careful with the Attribute for the Field Name!! They look different and are not equal. Sadly the "Enclosing Tag" or the"CssClass" Attribute are not available in important SC Controls. That makes life harder and need to set via code behind or with just HTML.
Use Attribute "Field" for the sc:Text Control to set the Fieldname from the Sitecore Backend!
<sc:Text ID="scText" Field="Description" runat="server" />
Problem:
Server Error in '/' Application.
Field property is required. All field web controls require the field name to be set.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.InvalidOperationException: Field property is required. All field web controls require the field name to be set.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Hi
ReplyDeleteThanks for the comment, You are absolutely right. I extended this post and try for further post to be more precise. Till now the focus was more for the advanced users.
bye
First off I want to say terrific blog! I had a quick question that I'd like to ask
ReplyDeleteif you do not mind. I was curious to know how you center yourself and clear your mind before writing.
I have had trouble clearing my thoughts in getting my ideas out there.
I truly do take pleasure in writing however it just seems like the
first 10 to 15 minutes are wasted simply just trying to figure out how to begin. Any recommendations or hints?
Thank you!
bookmarked!!, I like your blog!
ReplyDeleteWe are a group of volunteers and opening a
ReplyDeletenew scheme in our community. Your web site provided
us with valuable information to work on. You've done an impressive job and our whole community will be thankful
to you.
These are in fact impressive ideas in on the topic of blogging.
ReplyDeleteYou have touched some fastidious points here.
Any way keep up wrinting.
Normally I do not learn post on blogs, but I wish to
ReplyDeletesay that this write-up very forced me to check out and do it!
Your writing taste has been surprised me. Thank you,
quite great post.
Awesome post.
ReplyDeleteThere is definately a lot to learn about this issue. I like all the
ReplyDeletepoints you made.