C#/ASP.Net - ImageButton OnClick CodeBehind function
<p>I've got default.aspx/default.aspx.cs and other.cs where i "store" a bunch of functions.</p>

<p>In my default.aspx i've :</p>

<pre><code> &lt;asp:ImageButton ID="ImageButton1" CssClass="btn_img" ImageUrl="./images/1.png" runat="server" OnClick='&lt;%# "setFunction(" +Eval("aGUID") +")" %&gt;' /&gt;
</code></pre>

<p>in my default.aspx.cs</p>

<pre><code>protected void setFunction(object sender, ImageClickEventArgs e)
{
    string istr = e.ToString();
    var iguid = new Guid(istr);
    // this are classes/functions stored in other.cs
    ManageFun mfun = new ManageFun();
    mfun.setMM(iguid);
}
</code></pre>

<p>I though i was doing all right, but can't figure out what i'm doing wrong!
In matter of fact it does nothing!</p>

<p>Apreciate any help!</p>

<p>Thanks!</p>