3 Attachment(s)
Can't show a static text-string ...
Hello World,
Is there any option/way to show a text-string ALWAYS as some kind of header to the result of this code:
Code:
...
<ext:Tab ID="TabDocuments" runat="server" Title="Dokument" Border="false">
<Body>
<ext:FitLayout runat="server">
<ext:DataView runat="server" StoreID="DocumentStore" ItemSelector="span:first-child">
<Template ID="Template1" runat="server">
<div id="Avtal">Avtal</div>
<div id="Ovrigt">Ovrigt</div>
<div id="Prislistor">Prislistor</div>
<div id="Bilagor">Bilagor</div>
<tpl for=".">
<div id="{CategoryName}_text">
<a href="/pages/downloaddocument/DownloadDocumentHelper.aspx?id={RevisionGuid}&type=SupplierDocument" target="_blank" >{DocumentTitle}</a>
</div>
</tpl>
</Template>
</ext:DataView>
</ext:FitLayout>
</Body>
</ext:Tab>
...
As it is right now, "Avtal" + "Ovrigt" + "Prislistor" + "Bilagor" only shows if and only if there is something to show after/in the <tpl for=".">
BUT
I always want to show "Avtal" + "Ovrigt" + "Prislistor" + "Bilagor" even if there is no data presented after/in the <tpl for=".">
Any advice ?
Please see my three attached images.
actual_with_data.jpg (Correct with data)
actual_without_data.jpg (Right now without data, not correct)
my_dream_without_data.jpg (As I want it to be without data, correct)
Regards
Anders