This is a migrated thread and some comments may be shown as answers.

Nested forms issue

1 Answer 213 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Irfan Ahmed
Top achievements
Rank 2
Irfan Ahmed asked on 24 Jul 2012, 05:24 AM
I am using ASP.NET MVC2 and RadEditor.
I am having a view based on Master page. This view contains a form generated using Html.BeginForm().
Please check 1.png. This view contains several sections having partial views. One of them is Style view (2.png)
The style view contains RadEditor in another partial view (2.png).
You may check the code in 3-6.png. Image 6 shows that i have to use <form> tag to show up the editor, but if remove the <form> tag editor is not shown up (7.png)

The major problem here is if i have use the <form> tag the editor is shown but because of nested forms the data after Style section is not submitted, while if i remove the <form> tag the editor is not shown up but entire data is submitted.

Can you please provide a solution on this.

1 Answer, 1 is accepted

Sort by
0
Irfan Ahmed
Top achievements
Rank 2
answered on 27 Jul 2012, 05:51 PM
Three days passed but yet no reply..?
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Irfan Ahmed
Top achievements
Rank 2
Answers by
Irfan Ahmed
Top achievements
Rank 2
Share this question
or