Telerik - RadGridView_CellEndEdit

This short code example will show how to code for the Telerik RadGridView_CellEndEdit event

Edited 8/21/2012 to add filtering for the new row

 

 Caution... when a cell's contents are cleared, the returned value in e.value is NOTHING. You might need to trap for that.

 

    Private Sub RadGridView1_CellEndEdit(ByVal sender As ObjectByVal e As Telerik.WinControls.UI.GridViewCellEventArgsHandles RadGridView1.CellEndEdit

        If Not TypeOf (e.Row) Is GridViewNewRowInfo Then
            'get the value of the cells that we need to do the updating 
            Dim strCustomerPO As String = e.Row.Cells("vchrCustomerPO").Value
            Dim decCustPOTotal As Int16 = e.Row.Cells("curCustPOTotal").Value
            Dim intRowID As Int32 = e.Row.Cells.Item("RowID").Value

            'code to update the datasource 
            dynData.SPs.FP_MasterOrderPO_MERGE(intRowID, Me.UUID, strCustomerPO, decCustPOTotal, appUser.Db).execute()
        End If

    End Sub

RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences