Radgrid datasource not updating

Rated 3.88/5 based on 845 customer reviews

In case of the bound field’s we need to check what column it is and need to use index of that cloumn, which is little hard and even in future if we change the column order If you see the Last Template Field part in the above code, I am using the link buttons for edit, update, delete and cancel.May be you may think why am I using link buttons as we are provided with some command field buttons by Grid View.

radgrid datasource not updating-14

We will use Template Field, whenever we want to define some custom control in the data bound controls like Grid View, Data Grid or Data Repeater.

Over the last few weeks I've been writing a series of blog posts that cover LINQ to SQL.

LINQ to SQL is a built-in O/RM (object relational mapper) that ships in the . NET (like the Object Data Source and SQLData Source controls that shipped with ASP. NET UI controls to LINQ to SQL data models super easy.

Our problem is that the Telerik data bound controls, when binding to an Entity Data Source, are designed to update the database constantly.

For instance, when editing multiple rows of data using the Rad Grid, unless we save the data to the database each insert and delete, we do not see the inserted records and still see the deleted records, since their EF “Entity State” is added or deleted, and which are not normally returned when making a query on a datasource (I think there needs to be such an option for all databound controls to allow for this but it may take changing the datasource controls as well).

Leave a Reply