master detail same page using radgrid and form controls

2 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Feb 2013

    Posted 06 Aug 2013 Link to this post

    I have a  rad grid which i am populating on from the context ie .

              BindingSource bs = new BindingSource();
                bs.DataSource = pamsContext.GetAppraisal(false).ToList();
                grvappraisal.DataSource = bs;

    I have a list which contains apprisal id record id , next date  , apprisaed by

    on the right on the same form I have notes and a couple of date drop down what I am wanting to no is using the entity frame work how do i store the values on the right hand side so I can later save them to the entity.

    any help is appreciated 
  2. George
    George avatar
    500 posts

    Posted 09 Aug 2013 Link to this post

    Hi David,

    Thank you for writing.

    I find it hard to understand what exactly you are are trying to achieve from the provided information. However in case you want to save dates from a calendar column you can subscribe to the CellEndEdit event of the grid and add it to a temporary list or the database:
    private List<DateTime> dates = new List<DateTime>();
    void grid_CellEndEdit(object sender, GridViewCellEventArgs e)
        if (e.ActiveEditor is RadDateTimeEditor)
        using (DbContext db = new DbContext())

    If this is not the case I would like to kindly ask you to provide me with more detailed information.

    I hope this information is helpful. If you need any further assistance, please let me know.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top