How to display different fields in EditForm than in Table

3 posts, 0 answers
  1. King Wilder
    King Wilder avatar
    240 posts
    Member since:
    Oct 2007

    Posted 12 Aug 2009 Link to this post

    I have a little problem, I have a Grid that is populated with some of the columns from the Customer table, because if all the columns were displayed in the Grid it would continue off the page.  So I've removed un-important columns in the grid to make it fit on the page.

    But I want to be able to edit inline using the EditForm mode and display ALL the entity fields.

    Is there a built-in way of doing this?  I've looked in the documentation and I can't tell if it's answered there.  Do I need to write some code to make this work?

    Any help would be appreciated.

    Thanks,

    King Wilder
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 13 Aug 2009 Link to this post

    Hello King Wilder,

    You actually do not need to remove the un-important columns from the grid but you can set the Visible property of the columns to false, so that the column is hidden in the view mode of the grid and displayed during edit mode.
    aspx:
    <telerik:GridBoundColumn DataField="CustomerID" Visible="false"  
    HeaderText="Customer ID" UniqueName="CustomerID"
    </telerik:GridBoundColumn> 

    Thanks
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. King Wilder
    King Wilder avatar
    240 posts
    Member since:
    Oct 2007

    Posted 13 Aug 2009 Link to this post

    You know, I probably should have figured that out, since I have made the ID column invisible in the grid.  I just didn't realize the edit form could have different settings.

    Thanks.
Back to Top