XXX Chats

main unwanted side effect of sedating antihistamines

Radgrid not updating after rebind

The key to the advanced data binding of a Rad Grid control is handling the Need Data Source event.

Rad Grid fires the Need Data Source event each time it needs to be bound to a data source.

If, at the time of the event, the Data Source property is not set to a valid data source object, the grid will not behave correctly.

It is still your responsibility to properly construct a data source object and assign it to the Rad Grid's Data Source property.

Important: You should never call the Rebind () method in a Need Data Source event handler.

You should never call Data Bind () as well when using advanced data binding through Need Data Source .

For Microsoft Grid View -like data binding, see Simple Data-binding.

Rad Grid does not fire the Need Data Source event unless Rad Grid is visible (Visible=True). Grid Need Data Source Event Args) Handles Rad Grid1.

radgrid not updating after rebind-38

In a Need Data Source event handler, you should prepare the data source (list of objects) for Rad Grid and assign it to the grid's Data Source property: Protected Sub Rad Grid1_Need Data Source(By Val source As Object, By Val e As Telerik. Need Data Source Dim Conn String As String = Configuration Manager. Connection String Dim conn As Sql Connection = New Sql Connection(Conn String) Dim adapter As Sql Data Adapter = New Sql Data Adapter adapter. Select Command = New Sql Command("SELECT Customer ID, Company Name, Contact Name, Contact Title, Address FROM Customers", conn) Dim my Data Table As New Data Table conn. hello friend, can u please tell me how to update the data in the radgrid control. i have using the code below---- using System;using System. Page hey i have do this code protected void rg Product Name_Need Data Source(object source, Grid Need Data Source Event Args e) protected void rg Product Name_Update Command(object source, Telerik. When I do this, the rad Grid does not behave properly.Some examples are that when I do an edit, I cannot close the edit portion or update. I've got a Gridview that is linked to a Details View for Inserts, Updates, and Deletes. Inserts, Edits, and Updates all work..I check the database...or if I close the ASP Development Server IE instance and reopen it (Shift-F5).However, the Gridview itself is NOT updating with any changes I make (unless, of course, I close and reopen IE).Here's my Gridview and Sql Source: " Select Command="SELECT * FROM notes, types, service_groups WHERE ended is NULL and closer is NULL and notes.type=types.type_id AND notes.svc_group = service_groups.group_id AND ((clocked_end is NULL) OR ((DATEADD(minute, 30, clocked_end)) > GETDATE() )) AND ((clocked_start is NULL) OR (clocked_start <= GETDATE())) ORDER BY CASE type_text_short WHEN 'Escl8' THEN 0 ELSE 5 END, mnemonic" protected void Details View1_Item Inserted(object sender, Event Args e) protected void Details View1_Item Deleted(object sender, Event Args e) protected void Details View1_Item Updated(object sender, Event Args e) And actually, I tried that one with and without the "not" (as the Google post I found on that seemed to have conflicting info on what it should be... -= Dave =- Maybe the changes are being made but not rendered to the brower. Encase your gridview under a Update Panel and set its mode to Conditional. Update() method to refresh your changes Nope, the gridview doesn't refresh.

Comments Radgrid not updating after rebind