resolve url in bound data
<p>i want to show a menu in some pages.</p>

<p>the menu is build from db with repeater</p>

<pre><code>&lt;asp:Repeater ID="mainMenu" runat="server"&gt;
                    &lt;HeaderTemplate&gt;
                        &lt;ul&gt;
                    &lt;/HeaderTemplate&gt;
                    &lt;ItemTemplate&gt;
                        &lt;li&gt;&lt;a href="&lt;%# Page.ResolveClientUrl((string)Eval("TD_PageName"))%&gt;"&gt;&lt;%# Eval("TD_Name")%&gt;&lt;/a&gt;&lt;/li&gt;
                    &lt;/ItemTemplate&gt;
                    &lt;FooterTemplate&gt;
                        &lt;/ul&gt;
                    &lt;/FooterTemplate&gt;
                &lt;/asp:Repeater&gt;
</code></pre>

<p>when i am in "folder/page1.aspx" all the link are ok ("http://localhost/folder/folder2/page1.aspx").  when i'm in a folder "folder/folder2/page1.aspx" the links are "http://localhost/folder/folder2/folder2/page1.aspx"</p>

<p>UPDATED:
i change it to </p>

<pre><code>&lt;a href="&lt;%# VirtualPathUtility.ToAbsolute("~/admin/"+(string)Eval("TD_PageName"))%&gt;"&gt;&lt;%# Eval("TD_Name")%&gt;&lt;/a&gt;
</code></pre>
