RadGrid with AllowAutomaticDeletes and AllowAutomaticUpdates

3 posts, 0 answers
  1. cv
    cv avatar
    80 posts
    Member since:
    Mar 2007

    Posted 20 Aug 2008 Link to this post

    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. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 20 Aug 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. cv
    cv avatar
    80 posts
    Member since:
    Mar 2007

    Posted 21 Aug 2008 Link to this post

    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.

Back to Top