William Severance wrote:
Please log this as an issue in Gemini as the order in which properties of a control are set should not affect the rendering of the control.
Hi Bill,
I'll post this as an issue in Gemini, hopefully in the next week or so - been a bit busy lately.
Before I post it, though, I want to examine it a bit more. It looks like there might be a relationship to the Text property of the control, but I recall getting the same effect without an actual Text attribute (though I did have a ResourceKey attribute, which would render as a Text).
Along a similar line, I whipped up a quick set of HyperLinks to display various available IconKeys (to make it easier for me to choose from, in whatever skin I have). What was interesting in this was that when the Icon renders, the Text for the hyperlink does not (very strange, and gives some credence to your suggestion of the root cause). Anyway, I want to take a closer look at this myself - maybe at least find where the error happens, even if I don't have a fix to suggest.
Here's the simple markup to show the (partial) list of Sigma Icons:
<style type="text/css">
fieldset .ListIconKey
{
width: 80%;
}
fieldset .ListIconKey ul
{
margin: 0 auto;
padding: 0;
}
.ListIconKey ul li
{
display: inline-block;
width: 150px;
}
</style>
<fieldset class="ListIconKey">
<legend>IconKey</legend>
<p>The following are Sigma icons; the text is the value to use for the IconKey.</p>
<ul>
<li><asp:HyperLink ID="Hyperlink37" runat="server" >no IconKey</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink01" runat="server" IconKey="Save" >"Save"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink02" runat="server" IconKey="Edit" >"Edit"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink03" runat="server" IconKey="Add" >"Add"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink04" runat="server" IconKey="Delete" >"Delete"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink05" runat="server" IconKey="About" >"About"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink06" runat="server" IconKey="Action" >"Action"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink07" runat="server" IconKey="ActionDelete" >"ActionDelete"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink08" runat="server" IconKey="ActionRefresh" >"ActionRefresh"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink09" runat="server" IconKey="Activatelicense" >"Activatelicense"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink10" runat="server" IconKey="AddFolder" >"AddFolder"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink11" runat="server" IconKey="Cancel" >"Cancel"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink12" runat="server" IconKey="Checked" >"Checked"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink13" runat="server" IconKey="Delete" >"Delete"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink14" runat="server" IconKey="Deny" >"Deny"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink15" runat="server" IconKey="Email" >"Email"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink16" runat="server" IconKey="Grant" >"Grant"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink17" runat="server" IconKey="Health" >"Health"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink18" runat="server" IconKey="Help" >"Help"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink19" runat="server" IconKey="Integrity" >"Integrity"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink20" runat="server" IconKey="Kb" >"Kb"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink21" runat="server" IconKey="Lists" >"Lists"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink22" runat="server" IconKey="Lock" >"Lock"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink23" runat="server" IconKey="Max" >"Max"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink24" runat="server" IconKey="Min" >"Min"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink25" runat="server" IconKey="Rt" >"Rt"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink26" runat="server" IconKey="Lt" >"Lt"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink27" runat="server" IconKey="Up" >"Up"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink28" runat="server" IconKey="Dn" >"Dn"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink29" runat="server" IconKey="Shared" >"Shared"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink30" runat="server" IconKey="Trash" >"Trash"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink31" runat="server" IconKey="Users" >"Users"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink32" runat="server" IconKey="User" >"User"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink33" runat="server" IconKey="Vendors" >"Vendors"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink34" runat="server" IconKey="Unchecked" >"Unchecked"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink35" runat="server" IconKey="View" >"View"</asp:HyperLink></li>
<li><asp:HyperLink ID="Hyperlink36" runat="server" IconKey="ViewStats" >"ViewStats"</asp:HyperLink></li>
</ul>
</fieldset>