title: how to prevent page refresh while doing postback?
body: <p>I want to display a pop up on each div click.the divs will create dynamically and each is boxes.I want to display some database values inside my pop up.I used hidden field(to get id) as a control parameter in sql datasource.To get the hidden field values on each click from c#,i used some _dopostback in javascript of my pop up plug in.
  This causes page loading on every refresh and hence I cant display proper values in my popup on each click.
  How can i avoid page refresh?
  my javascript code:</p>
  
  <p>in pop up function i called</p>
  
  <pre><code>__doPostBack('TestFunctionPostBack', comp_id);
  </code></pre>
  
  <p>c# code in page load</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 == "TestFunctionPostBack")
              {               
                  HiddenField1.Value = eventArgument;
  
              }
  
          }
  </code></pre>