binding a dictionary to a repeater using <a> tag
<pre><code>      &lt;asp:Repeater ID="rptAlbum" runat="server"&gt;
            &lt;ItemTemplate&gt;
                 &lt;a runat="server" href="&lt;%# DataBinder.Eval("key"))  %&gt;" rel='lightbox[&lt;%#Eval("value") %&gt;]'&gt;
                    &lt;asp:Image ID="Image1" runat="server" ImageUrl='&lt;%#Eval("key") %&gt;' Width="30px" Height="30px"/&gt;
                 &lt;/a&gt;
            &lt;/ItemTemplate&gt;
      &lt;/asp:Repeater&gt;
</code></pre>

<p>I try many way to catch the key of the dictionary into my href but allways give me answer that server tag not well formed or a string doesn't have the property of key .. :s</p>

<p>If someone could help me it would be very helpfull :) </p>

<p>best regards</p>
