How to avoid page refresh in onclick while using _dopostback
<p>Am using some _dopostback function to get the javascript variable id in c# textbox control onclicking.Now I want to know how to avoid page refresh on clicking each of my dynamically created div(on clicking this div the textbox value changes).The code below:</p>

<p>In c# :</p>

<pre><code>this.GetPostBackEventReference(this, string.Empty);
       if (this.IsPostBack)
        {
            string eventTarget = (this.Request["__EVENTTARGET"] == null) ? string.Empty : this.Request["__EVENTTARGET"];
            string eventArgument = (this.Request["__EVENTARGUMENT"] == null) ? string.Empty : this.Request["__EVENTARGUMENT"];

            if (eventTarget == "Test")
            {               
                TextBox2.Text = eventArgument;                          

            }
        }
</code></pre>

<p>in javascript </p>

<pre><code>__doPostBack('Test', comp_id);
</code></pre>

<p>Please suggest any other possible ways too to achieve this?</p>
