HOW NOT update a variable in post back
<p>Consider the code</p>

<pre><code>public partial class Classname: somethng
    {   
        bClass objClass = new bClass();
        Boolean isfindclicked=false;
protected void Page_Load(object sender, EventArgs e)
        {
            //rowid = 0;
            if (!IsPostBack)
            {......
              ...
             }
}

  protected void btnFind_Click(object sender, EventArgs e)
        {
         isfindclicked=true;
}
</code></pre>

<p>On a button click,certain operations are performed if the isfindclicked value is true.But  once the button is clicked the page is reloaded and the value of isfindclicked sets to false.So the fn inside the buttn clicked is not executed...</p>

<p>So any way  to make the varible isfindcliked <strong>not updated during page postbacks.</strong>.I ave tried with Session,it worked..but is there any other way out in not updating the isfindclicked value during page reloads...?</p>
