use this
<asp:Panel ID="pnlFullViewWindow" runat="server">
<asp:UpdatePanel ID="pnlFullView" runat="server">
<ContentTemplate>
<asp:Label ID="lblPrintValue" runat="server" Text="0"></asp:Label>
<asp:HiddenField ID="hdnCurrentAssetIndex" runat="server" Value="0" />
<div>
<table>
<tr>
<td>
<asp:ImageButton ID="btnFullViewPrev" runat="server" OnClick="btnChangeIndex_Click"
AlternateText="<<" />
</td>
<td>
</td>
<td>
<asp:ImageButton ID="btnFullViewNext" runat="server" OnClick="btnChangeIndex_Click"
AlternateText=">>" />
</td>
</tr>
</table>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
use this in code side for test change hf value
protected void btnChangeIndex_Click(object sender, ImageClickEventArgs e)
{
ImageButton img = (ImageButton)sender;
if (img.ID == "btnFullViewPrev")
hdnCurrentAssetIndex.Value = (int.Parse(hdnCurrentAssetIndex.Value) - 1).ToString();
else
hdnCurrentAssetIndex.Value = (int.Parse(hdnCurrentAssetIndex.Value) + 1).ToString();
lblPrintValue.Text = hdnCurrentAssetIndex.Value;
}