This is a migrated thread and some comments may be shown as answers.
RAD Grid Edit Template
2 Answers 106 Views
This is a migrated thread and some comments may be shown as answers.
samer
Top achievements
Rank 1
samer asked on 21 May 2009, 05:30 PM
Hi,

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 Answers, 1 is accepted

Sort by
0
Bruno
Top achievements
Rank 2
answered on 26 May 2009, 06:34 AM
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) 
    { 
    } 
</script> 

0
Frank
Top achievements
Rank 1
answered on 10 Jun 2009, 09:51 PM
Where is the sample code which samer mentions?
The link seems to be missing from the post.

Frank
Asked by
samer
Top achievements
Rank 1
Answers by
Bruno
Top achievements
Rank 2
Frank
Top achievements
Rank 1
Share this question
or