Automatic Updates - Cast to Custom Object

2 posts, 1 answers
  1. TheLostLeaf
    TheLostLeaf avatar
    34 posts
    Member since:
    Feb 2007

    Posted 22 Mar 2010 Link to this post

    I'm using LLBL DataCollections to bind to the grid which always works perfect. Is there a way to get the instance of the row as the data object entity that it holds? The only alternative I see is looping the values. Thanks!


    void rgSystemSettings_EditCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)      
    protected void rgSystemSettings_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)      
       MyDataCollection col = new MyDataCollection();      
       rgSystemSettings.DataSource = col;     
  2. Answer
    Pavlina avatar
    6165 posts

    Posted 25 Mar 2010 Link to this post

    Hello Erik,

    In order to achieve your goal I suggest you examine the following online resources which elaborate on this subject and let me know if they help:
    Accessing cells and rows
    Referencing controls in grid row/edit form

    I hope this gets you started properly.

    Sincerely yours,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top