title: Event Receiver not affecting until refesh the list
body: <p>I have a Sharepoint 2010 list. I have written event receiver code to update a field value in item added event. I am getting correct result, but it's not updating the field value until I refresh the list. Why?</p>
  
  <p>Code:</p>
  
  <pre><code>public override void ItemAdded(SPItemEventProperties properties)       
  {
         base.ItemAdded(properties);
  
         SPWeb web = properties.OpenWeb();
         SPList list = properties.List;
         int highestValue = 0;
  
         SPQuery query = new SPQuery();
         query.Query = @"&lt;OrderBy&gt;
                           &lt;FieldRef Name='NextNo' Ascending='FALSE' /&gt;
                       &lt;/OrderBy&gt;&lt;RowLimit&gt;1&lt;/RowLimit&gt;";
  
         SPListItemCollection itemcollection = list.GetItems(query);
         if (itemcollection.Count &gt; 0)
         {
             SPListItem item = itemcollection[0];
             highestValue = Convert.ToInt32(item["NextNo"]);
         }
  
         SPListItem currItem = properties.ListItem;
         currItem["NextNo"] = highestValue + 1;
         currItem.Update();
  }      
  </code></pre>