Radgrid not updating on rebind

The problem i face here is i find out that when there is paging in the Rad Grid, i am not able to make the Rad Grid to show the updated/ added successfully record. I am pretty sure that the updated/added record is bind to the Rad Grid. Text = "Parameter Group " & str Param Group & " With Description :" & str Param Group Desc & " Successfullly Added." Catch ex As Exception e. It stil does not take effect: My coding is as below : Protected Sub ajax Grid Param Grp_Insert Command(By Val source As Object, By Val e As Telerik. Insert Command Dim str Param Group As String Dim str Param Group Desc As String Dim ds Record As New Data Set Try Clear Msg() Clear Msg() Param Grp Desc.

It just do not show up when there is paging in the Rad Grid. Grid Need Data Source Event Args) Handles ajax Grid Param Grp. To Upper View State("Update Param Group") = str Param Group 'Param Group Validation(str Param Group, str Param Group Desc) Insert Record(str Param Group, str Param Group Desc, Http Context.

Data Source = ds Record End If If View State("Page Access Right") = "R" Then Invisible Column Grid() Else visible Column Grid() End If End If Catch ex As Exception Rad Ajax Manager1.

Data Source = ds Record Else ds Record = get Record By Type("", "") ajax Grid Param Grp. Message & "');") End Try End Sub Hope this will help you..

The structure is something like this: I have master page which has the Rad Ajax Manager.

You can use your own way to provide a sample source, e.g. Grid Need Data Source Event Args e) private void Rad Grid1_Insert Command(object source, Telerik. View State("_gds") If (Not (obj) Is Nothing) Then Return CType(obj, Data Table) Else Dim table As Data Table = Data Source Helper VB. Grid Source Dim new Row As Data Row = orders Table. Length 0) Then new Row("Order ID") = (CType(all Values((all Values. Extract Values From Item(new Values, edited Item) Try For Each entry As Dictionary Entry In new Values new Row(CType(entry.

use the widespread Northwind SQL table to [load the Data Table](grid/data-binding/understanding-data-binding/server-side-binding/advanced-data-binding-(using-needdatasource-event) or generate a dummy Data Table.private Data Table Grid Source private void Rad Grid1_Need Data Source(object source, Telerik. Get Data Table("SELECT TOP 10 Order ID, Employee ID, Order Date, Ship Name FROM Orders") Me. New Row 'As this example demonstrates only in-memory editing, a new primary key value should be generated 'This should not be applied when updating directly the database Dim all Values() As Data Row = orders Table. Length - 1))("Order ID"), Integer) 1) Else new Row("Order ID") = 1 'the table is empty; End If 'Set new values Dim new Values As Hashtable = New Hashtable 'The Grid Table View will fill the values from all editable columns in the hash e.

Text) "" Then str Search Param Grp Desc = Trim(txt Param Grp Desc.

Text) ds Record = get Record By Type("", str Search Param Grp Desc) ajax Grid Param Grp. Selected Item Is Nothing Then str Param Grp = Param Group. Value If str Param Grp = "ALL" Then ds Record = get Record By Type("ALL", "") ajax Grid Param Grp.

Leave a Reply