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

RadGrid with AllowAutomaticDeletes and AllowAutomaticUpdates

2 Answers 241 Views
Grid
This is a migrated thread and some comments may be shown as answers.
cv
Top achievements
Rank 1
cv asked on 20 Aug 2008, 01:12 PM
Hi,

I am using Radgrid, in my application i need to generate columns, updates,inserts  automatically at runtime.

pls tell me the way to achieve this.


Thanks,
Ramesh.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 21 Aug 2008, 03:40 AM
Hello Ramesh,

To generate columns automatically at runtime, you can set the AutoGenerateColumns property to true as shown below.
aspx:
<telerik:RadGrid ID="RadGrid2" DataSourceID="SqlDataSource1" AutoGenerateColumns="true" runat="server" > 
      ....         

Go through the following code library submission link which demonstrates how to perform Automatic Insert/Update/Delete within a grid.
Automatic operations with SqlDataSource control

Thanks
Princy.
0
cv
Top achievements
Rank 1
answered on 21 Aug 2008, 11:27 AM
hi,

i need to use these three options on a same radgrid.

i need to generate columns at runtime,at the same time i need to generate update and delete buttons.

in the given example they are creating buttons for predefined columns.but it also doesnt work.

is there any other way to do this?


thanks,
ramesh.

Tags
Grid
Asked by
cv
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
cv
Top achievements
Rank 1
Share this question
or