Click here to Skip to main content
15,849,615 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
Can anyone tell me how to insert data into radgrid..or some idea for inserting into radgrid


C#
protected void RadGrid_Details_InsertCommand(object sender, GridCommandEventArgs e)
{

           GridDataItem dataItem = e.Item as GridDataItem;
            
            ID = int.TryParse(dataItem["ID"].Text);
            string FirstName = dataItem["FirstName"].Text;
            string LastName = dataItem["LastName"].Text;
           
          
}
Posted
Updated 9-Mar-15 21:31pm
v2

1 solution

Telerik has a very detailed demos site and a good support system...
Start looking at this demo:http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/manual-crud-operations/defaultcs.aspx[^]
 
Share this answer
 
Comments
Member 11148509 10-Mar-15 2:41am    
I already saw that ...i want to get that without using datasource
Kornfeld Eliyahu Peter 10-Mar-15 2:44am    
RadGird does not! support 'unbound mode' - it does support however a wide range of data sources. In fact everything that implements IEnumerable can be used as such. but at the end of the day RadGrid must have a data source
Member 11148509 10-Mar-15 3:10am    
But im able to load data bound columns,do paging and filterations ...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900