Detailsview itemupdating cancel

This article walks through creating an editable List View control, with the finished results available for download at the end of the article. (It is assumed that the reader is familiar with how to edit data using a data source control.

If this is not the case, please first read Accessing and Updating Data in ASP.

Namely, each field in the Grid View or Details View is rendered in its editing interface; Bound Fields display a Text Box control while Check Box Fields display an enabled checkbox.

Moreover, a Command Field is added, which displays the Edit, Update, and Cancel buttons, as needed.

Many fields types, such as the Bound Field, can generate their own editing interface, but with templates the page developer is on the hook for specifying the editing interface.

Creating an editable List View control entails defining the editing interface via the and adding the Edit, Update, and Cancel buttons in the appropriate spots.

You select the record from master control (as example Grid View) and selected record is displayed in Detail View control.Best wishes, Svetlina the Telerik team Hi Svetlina, I have updated an existing service ticket with these details, but for benefit of the forum, here is cut-and-paste code that shows the problem. If you change the templated binding line below from this Hi Jim, Thank you for provided code and for clarifying your scenario.The problem is caused by the fact that only primitive type properties such as string, int, bool are bindable declaratively.If user clicks on paging link at bottom of Detail View control, then Page Index Changing event fires.Another important property of Detail View control is Pager Settings.