title: Issue with updating a record in the Telerik RadGrid Update GUI
body: <p>I have a Telerik RadGrid in which I need to be able to update records.</p>
  <pre><code>&lt;telerik:RadGrid ID=&quot;rgPODtl&quot; runat=&quot;server&quot; CellSpacing=&quot;-1&quot; DataSourceID=&quot;sdsPODtl&quot; GridLines=&quot;Both&quot; AllowAutomaticUpdates=&quot;True&quot;&gt;
      &lt;MasterTableView DataKeyNames=&quot;PurchaseOrderHdr_FK,PurchaseOrderLineNbr&quot; DataSourceID=&quot;sdsPODtl&quot; AutoGenerateColumns=&quot;False&quot;&gt;
          &lt;CommandItemSettings ShowAddNewRecordButton=&quot;False&quot; ShowSaveChangesButton=&quot;True&quot; ShowCancelChangesButton=&quot;False&quot;&gt;&lt;/CommandItemSettings&gt;
              &lt;Columns&gt;
                  &lt;telerik:GridEditCommandColumn HeaderText=&quot;Edit&quot;&gt;&lt;/telerik:GridEditCommandColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;PurchaseOrderHdr_FK&quot; ReadOnly=&quot;True&quot; HeaderText=&quot;PurchaseOrderHdr_FK&quot; SortExpression=&quot;PurchaseOrderHdr_FK&quot; UniqueName=&quot;PurchaseOrderHdr_FK&quot; DataType=&quot;System.Int32&quot; FilterControlAltText=&quot;Filter PurchaseOrderHdr_FK column&quot; Visible=&quot;false&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;PurchaseOrderLineNbr&quot; ReadOnly=&quot;True&quot; HeaderText=&quot;Purchase Order Line Nbr&quot; SortExpression=&quot;PurchaseOrderLineNbr&quot; UniqueName=&quot;PurchaseOrderLineNbr&quot; DataType=&quot;System.Int16&quot; FilterControlAltText=&quot;Filter PurchaseOrderLineNbr column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;PartCommodityNbr&quot; HeaderText=&quot;Part Commodity Nbr&quot; SortExpression=&quot;PartCommodityNbr&quot; UniqueName=&quot;PartCommodityNbr&quot; FilterControlAltText=&quot;Filter PartCommodityNbr column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;Unit_FK&quot; HeaderText=&quot;Unit_FK&quot; SortExpression=&quot;Unit_FK&quot; UniqueName=&quot;Unit_FK&quot; DataType=&quot;System.Byte&quot; FilterControlAltText=&quot;Filter Unit_FK column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;OrderQuantity&quot; HeaderText=&quot;Order Quantity&quot; SortExpression=&quot;OrderQuantity&quot; UniqueName=&quot;OrderQuantity&quot; DataType=&quot;System.Decimal&quot; FilterControlAltText=&quot;Filter OrderQuantity column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;LongDescription&quot; HeaderText=&quot;Long Description&quot; SortExpression=&quot;LongDescription&quot; UniqueName=&quot;LongDescription&quot; FilterControlAltText=&quot;Filter LongDescription column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;UnitPrice&quot; HeaderText=&quot;Unit Price&quot; SortExpression=&quot;UnitPrice&quot; UniqueName=&quot;UnitPrice&quot; DataType=&quot;System.Decimal&quot; FilterControlAltText=&quot;Filter UnitPrice column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;ExtendedAmount&quot; HeaderText=&quot;Extended Amount&quot; SortExpression=&quot;ExtendedAmount&quot; UniqueName=&quot;ExtendedAmount&quot; DataType=&quot;System.Decimal&quot; FilterControlAltText=&quot;Filter ExtendedAmount column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;OrderQuantityStdHours&quot; HeaderText=&quot;Order Quantity Std Hours&quot; SortExpression=&quot;OrderQuantityStdHours&quot; UniqueName=&quot;OrderQuantityStdHours&quot; DataType=&quot;System.Decimal&quot; FilterControlAltText=&quot;Filter OrderQuantityStdHours column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;UnitPriceStdHourlyRate&quot; HeaderText=&quot;Unit Price Std Hourly Rate&quot; SortExpression=&quot;UnitPriceStdHourlyRate&quot; UniqueName=&quot;UnitPriceStdHourlyRate&quot; DataType=&quot;System.Decimal&quot; FilterControlAltText=&quot;Filter UnitPriceStdHourlyRate column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;Cre_Date&quot; HeaderText=&quot;Created Date&quot; SortExpression=&quot;Cre_Date&quot; UniqueName=&quot;Cre_Date&quot; DataType=&quot;System.DateTime&quot; FilterControlAltText=&quot;Filter Cre_Date column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;Cre_User&quot; HeaderText=&quot;Created By&quot; SortExpression=&quot;Cre_User&quot; UniqueName=&quot;Cre_User&quot; FilterControlAltText=&quot;Filter Cre_User column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;Mod_Date&quot; HeaderText=&quot;Modified Date&quot; SortExpression=&quot;Mod_Date&quot; UniqueName=&quot;Mod_Date&quot; DataType=&quot;System.DateTime&quot; FilterControlAltText=&quot;Filter Mod_Date column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
                  &lt;telerik:GridBoundColumn DataField=&quot;Mod_User&quot; HeaderText=&quot;Modified By&quot; SortExpression=&quot;Mod_User&quot; UniqueName=&quot;Mod_User&quot; FilterControlAltText=&quot;Filter Mod_User column&quot;&gt;&lt;/telerik:GridBoundColumn&gt;
              &lt;/Columns&gt;
          &lt;/MasterTableView&gt;
          &lt;ClientSettings&gt;
              &lt;Resizing AllowColumnResize=&quot;true&quot; ResizeGridOnColumnResize=&quot;true&quot; AllowResizeToFit=&quot;true&quot; /&gt;
          &lt;/ClientSettings&gt;
  &lt;/telerik:RadGrid&gt;
  &lt;asp:SqlDataSource runat=&quot;server&quot; ID=&quot;sdsPODtl&quot; ConnectionString='&lt;%$ ConnectionStrings:CSS_ConnectionString %&gt;' OldValuesParameterFormatString=&quot;original_{0}&quot;
                      SelectCommand=&quot;SELECT * FROM CUSPO.PurchaseOrdersDtl&quot;
                      UpdateCommand=&quot;UPDATE CUSPO.PurchaseOrdersDtl SET PartCommodityNbr = @PartCommodityNbr, Unit_FK = @Unit_FK, OrderQuantity = @OrderQuantity, LongDescription = @LongDescription, UnitPrice = @UnitPrice, ExtendedAmount = @ExtendedAmount, OrderQuantityStdHours = @OrderQuantityStdHours, UnitPriceStdHourlyRate = @UnitPriceStdHourlyRate WHERE (PurchaseOrderHdr_FK = @original_PurchaseOrderHdr_FK AND PurchaseOrderLineNbr = @original_PurchaseOrderLineNbr)&quot;&gt;
      &lt;UpdateParameters&gt;
          &lt;asp:Parameter Name=&quot;PartCommodityNbr&quot; Type=&quot;String&quot;&gt;&lt;/asp:Parameter&gt;
          &lt;asp:Parameter Name=&quot;Unit_FK&quot; Type=&quot;Int32&quot;&gt;&lt;/asp:Parameter&gt;
          &lt;asp:Parameter Name=&quot;OrderQuantity&quot; Type=&quot;Decimal&quot;&gt;&lt;/asp:Parameter&gt;
          &lt;asp:Parameter Name=&quot;LongDescription&quot; Type=&quot;String&quot;&gt;&lt;/asp:Parameter&gt;
          &lt;asp:Parameter Name=&quot;UnitPrice&quot; Type=&quot;Decimal&quot;&gt;&lt;/asp:Parameter&gt;
          &lt;asp:Parameter Name=&quot;ExtendedAmount&quot; Type=&quot;Decimal&quot;&gt;&lt;/asp:Parameter&gt;
          &lt;asp:Parameter Name=&quot;OrderQuantityStdHours&quot; Type=&quot;Decimal&quot;&gt;&lt;/asp:Parameter&gt;
          &lt;asp:Parameter Name=&quot;UnitPriceStdHourlyRate&quot; Type=&quot;Decimal&quot;&gt;&lt;/asp:Parameter&gt;
          &lt;asp:Parameter Name=&quot;original_PurchaseOrderHdr_FK&quot; Type=&quot;Int32&quot;&gt;&lt;/asp:Parameter&gt;
          &lt;asp:Parameter Name=&quot;original_PurchaseOrderLineNbr&quot; Type=&quot;Int32&quot;&gt;&lt;/asp:Parameter&gt;
      &lt;/UpdateParameters&gt;
  &lt;/asp:SqlDataSource&gt;
  </code></pre>
  <p>The issue I have is this:</p>
  <ol>
  <li>I click the little pencil icon/'Edit' button.</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/KitxM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KitxM.png" alt="enter image description here" /></a></p>
  <ol start="2">
  <li>I get a GUI dropping down from the data grid to modify the fields.</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/QraRa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QraRa.png" alt="enter image description here" /></a></p>
  <ol start="3">
  <li>But when I click the checkmark icon/'Save' button, the update doesn't occur.</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/InwNZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/InwNZ.png" alt="enter image description here" /></a></p>
  <p>Can someone please tell me what I am missing?</p>