RAD Grid Edit Template

Thread is closed for posting
3 posts, 0 answers
  1. samer
    samer avatar
    1 posts
    Member since:
    May 2009

    Posted 21 May 2009 Link to this post


    Im new to the MVC and to the Rad Controls for MVC. I'm trying to create a grid with the ability of editting/insterting rows through the edit template. Excatly as you provided in this example:

    However in this example the Views have code behind where you have some logic implemented in the PageLoad event specially the partial view that renders the grid. The latest version of MVC 1.0 doesnt create code behind for the views or the partial views, so how can I move the logic in the code behind to the view thesmselves ( aspx). Can you provide me with updated example ?
  2. Bruno
    Bruno avatar
    105 posts
    Member since:
    Mar 2008

    Posted 26 May 2009 Link to this post

    Did you try using server-side code in your aspx declaration by adding script tag with runat="server". Similar to the following:

    <script runat="server"
        protected void Page_Load(object sender, EventArgs e) 

  3. DevCraft R3 2016 release webinar banner
  4. Frank
    Frank avatar
    15 posts
    Member since:
    Apr 2009

    Posted 10 Jun 2009 Link to this post

    Where is the sample code which samer mentions?
    The link seems to be missing from the post.

Back to Top