How to to get hiddenfield value in ItemTemplate
<p>Just want to ask how can I find hiddenfield in repeater because my problem I have button and I want to get the associate hiddenfield  inside ItemTemplate because I get null value when I try to get hiddenfield value   </p>

<pre><code>  &lt;asp:Repeater ID="rp_resList" runat="server" OnItemDataBound="rp_resList_ItemDataBound"&gt;
            &lt;ItemTemplate&gt;
                &lt;div class="resourcesResult"&gt;
                    &lt;asp:HiddenField ID="hf_resID" runat="server" Value='&lt;%#  Eval("Id") %&gt;' /&gt;
                    &lt;a href='&lt;%#  Eval("pageID") %&gt;'&gt;&lt;%#  Eval("name") %&gt;&lt;/a&gt;
                    &lt;br /&gt;
                    &lt;asp:Literal ID="litSummary" runat="server" Text='&lt;%#  Eval("summary") %&gt;'&gt;&lt;/asp:Literal&gt;
                    &lt;br /&gt;
 &lt;%--                   &lt;asp:Repeater ID="rp_tagsSkill" runat="server"&gt;
                        &lt;ItemTemplate&gt;
                            &lt;h6&gt;
                                &lt;%#  Eval("Description") %&gt;

                            &lt;/h6&gt;
                        &lt;/ItemTemplate&gt;
                    &lt;/asp:Repeater&gt;--%&gt;
                    &lt;asp:Repeater ID="rp_tagsTopics" runat="server"&gt;
                        &lt;ItemTemplate&gt;
                            &lt;h6&gt;
                                &lt;%#  Eval("Description") %&gt;

                            &lt;/h6&gt;
                        &lt;/ItemTemplate&gt;
                    &lt;/asp:Repeater&gt;
                    &lt;div id="controls"&gt;
                        &lt;asp:ImageButton ID="imgbtnBookmark" runat="server"   OnClick="imgbtnBookmark_Click" /&gt;
                        &lt;asp:DropDownList ID="ddlGroup" runat="server" DataSourceID="SqlDS_Groups" DataTextField="name" DataValueField="id" AppendDataBoundItems="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" &gt;
&lt;asp:ListItem Value="-1"&gt;Select Group&lt;/asp:ListItem&gt;
</code></pre>

<p>
                        
                    
                
        
</p>

<pre><code>protected void imgbtnBookmark_Click(object sender, System.Web.UI.ImageClickEventArgs e)
{
    Bookmark bm = new Bookmark();
    HiddenField hiddenField = rptGroup.FindControl("hf_resID") as HiddenField;
    bm.UserID =  
    Guid.Parse(Membership.GetUser(HttpContext.Current.User.Identity.Name).ProviderUserKey.ToString());
    bm.Resoursce.ResourceID = Convert.ToInt32(hiddenField.Value);
    Bookmark.Insert(bm);
}
</code></pre>
