title: updating a radgrid which is in a usercontrol
body: <p>I cant manage to update a radgrid which is in a usercontrol. My ajaxmanager is in the mainform.</p>
  
  <p>my usercontol is TaniUC 
  I manage to fire ajaxrequest event from usercontol. But i can not update radgrid. I use TaniEkle(ID) which is a public func in my usercontol,add a row to my radgrid.
  It is adding but not updating on screen.</p>
  
  <blockquote>
    <p>Form.aspx</p>
  </blockquote>
  
  <pre><code>&lt;telerik:RadAjaxManager ID="RadAjaxManager1" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
     runat="server"&gt;
     &lt;AjaxSettings&gt;               
  
  
         &lt;telerik:AjaxSetting AjaxControlID="RadAjaxManager1"&gt;
             &lt;UpdatedControls&gt;
                &lt;telerik:AjaxUpdatedControl ControlID="grdHastalar" LoadingPanelID="RadAjaxLoadingPanel1" /&gt;
             &lt;/UpdatedControls&gt;
         &lt;/telerik:AjaxSetting&gt;
        &lt;telerik:AjaxSetting AjaxControlID="grdHastalar" EventName="OnRowClick" &gt;
             &lt;UpdatedControls&gt;
                 &lt;telerik:AjaxUpdatedControl ControlID="TaniUC"  LoadingPanelID="RadAjaxLoadingPanel1" /&gt;
             &lt;/UpdatedControls&gt;
         &lt;/AjaxSettings&gt;
  </code></pre>
  
  <p></p>
  
  <blockquote>
    <p>Form.aspx.cs</p>
  </blockquote>
  
  <pre><code>protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
      {
          if(e.Argument=="taniekle")
          {
              int ID = DataReader.GetInt32(Request.Form["grdTanilarDClickedRowIndex"]);
              if (ID &gt; 0)
               {
                   ucpTani.TaniEkle(ID);
               }
              return;
          }
  </code></pre>
  
  <p>}</p>
  
  <blockquote>
    <p>TaniUc.ascx.cs  (usercontrol)</p>
  </blockquote>
  
  <pre><code> private List&lt;HBS_TANI&gt; seciliTanilarList
      {
          get
          {
              return (List&lt;HBS_TANI&gt;)ViewState["seciliTanilarList"];
          }
          set
          {
              ViewState["seciliTanilarList"] = value;
          }
      }
  public void TaniEkle(int id)
      {
          var lst = seciliTanilarList.Where(k =&gt; k.ICD10_ID == id).ToList();
          if (lst.Count() &gt; 0)
          {
              return;
          }
          else
          {
              HBS_TANI entity = new HBS_TANI();
              entity.TUR_ID = 1;
              entity.STATUS = true;
              bllTakipTani.Add(entity);
  
              seciliTanilarList.Add(entity);
              grdSeciliTanilar.DataSource = seciliTanilarList;
          }
      }
  </code></pre>