This is a migrated thread and some comments may be shown as answers.

Rad Grid Inline Edit with Dropdown

1 Answer 174 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 30 Jan 2015, 12:00 PM
Dear Friends,

I have a RadGrid with Following Columns

Name     DOB      Address      City       Country

I am populating this grid in JavascriptI didn't get how to populate DOB Date field, City Dropdown and Country Dropdown columns.

In code behind I have ItemCreated Event, But I didn't get how to trigger it from Javascript. Becuase i am binding the grid through Javascript.

So, Please help me to resolve this issue.


Regards,
Rajendran

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantin Dikov
Telerik team
answered on 04 Feb 2015, 12:17 PM
Hi Raj,

There are two possible options for CRUD operations. The first option is the one demonstrated in the following online demo, where the CRUD operations are handled manually by an external form:
The other option is with RadClientDataSource and RadGrid in Batch edit mode:
In the second approach you will have to use GridTemplateColumn with RadComboBox placed in the EditItemTemplate, where the control is bound to another RadClientDataSource.

As for the ItemCreated event, since you are using client-side binding, you will not be able to trigger that server-side event from the client-side and if you need to work with the created rows, you will have to handle the client-side OnRowCreated event instead.

Hope this helps.


Regards,
Konstantin Dikov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Raj
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or