Fail To Load Datepicker In Renderpartial

I have a tab in my form.

So I am using renderpartial to render this tab.

The code is roughly like below:




<form1>

  form

  <form2>tab</form2>


  <button>

</form1>



Scenario 1

If I set processoutput to true, my datepicker will load perfectly.

But when I click on the submit button, I will only manage to get input from my form1.

Scenario 2

If I set processoutput to false, my datepicker will broken (the date popup does not show up).

But I will get input from both of my form, form1 and form2.

I do trying to set processoutput to false, and register datepicker manually.

Then I will have issue just like Scenario 1.

Anyone can help me?

Thank you.

Someone, please help me…

can you post your Model code ?