You merely need to set the EditMode property of the corresponding GridTableView to Popup. When an item is put in edit mode RadGrid will display a popup with the edit form. You can toggle the PopUp checkbox if you want to display editing items in a PopUp edit form. See the Simple data binding demo from the Populating with data section for more info about the limitations of this binding mode. Note that WebUserControl custom edit form is not supported with simple data-binding (calling DataBind()). This allows the developer to write binding expressions to bind the server controls in the user control to the corresponding DataItem. The Validator is initialized when an item is in edit mode. The user control implements a public DataItem property through which Telerik RadGrid sets the correct values for the editor controls (when loading the user control). To define a validation rule on the client-side, extend the Kendo UI for jQuery Validator. The same user control will be used for the insert form as well. In the example above the edit form is a WebUserControl specified by the UserControlName property. You can switch the type of the edit forms using the GridEditFormType Enumeration. Telerik RadGrid supports custom edit forms for management of item content.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |