Dear All,
Today i found a problem when i render the DNN skin object with DNN:Text then it will return nothing, i register the object
<%@ Register TagPrefix="dnn" TagName="TEXT" Src="~/Admin/Skins/Text.ascx" %>
then i place the DNN text object with token
<dnn:TEXT runat="server" id="TEXT1" Text="[Tab:TabName]" CssClass="NormalBold" ReplaceTokens="True" />
Today i found a problem when i render the DNN skin object with DNN:Text then it will return nothing, i register the object
<%@ Register TagPrefix="dnn" TagName="TEXT" Src="~/Admin/Skins/Text.ascx" %>
then i place the DNN text object with token
<dnn:TEXT runat="server" id="TEXT1" Text="[Tab:TabName]" CssClass="NormalBold" ReplaceTokens="True" />
but there is no luck then i found when the ascx.cs file and checked out the code in detail and i found the variable that use in the cs file is ShowText instead of Text.
Here if you did not get the return value from dnn:Text in dnn 7.3 version then use the following skin object
<dnn:Text runat="server" id="CheckingOne2" ShowText="[User:FullName]" ReplaceTokens="True"/>
Note in above like there is ShowText instead of Text
Note in above like there is ShowText instead of Text
I hope it save your time because it already eat my 2 days
Regards
Rashid Imran Bilgrami
Rashid Imran Bilgrami
Thank you for this blogpost, I was having the same issue and this fixed it.
ReplyDelete