This question is locked. New answers and comments are not allowed.
Hello,
On my main page, there is .DisplayFor(m => m.Invoice.Date) and HiddenFor(m => m.Invoice.Date); so that I store the value in a hidden input and show the read-only to the users.
Everything seems fine since I need a pop-up window that allows to edit the fields of entity. This pop-up form also includes .EditorFor(m => m.Invoice.Date) As the pop-up form is opened, there appears the calendar icon on the main page.
Before clicking pop-up, html in main page is:
After clicking pop-up extra div's and span's are added to main page's html as below:
A sample screenshot is attached.
On my main page, there is .DisplayFor(m => m.Invoice.Date) and HiddenFor(m => m.Invoice.Date); so that I store the value in a hidden input and show the read-only to the users.
Everything seems fine since I need a pop-up window that allows to edit the fields of entity. This pop-up form also includes .EditorFor(m => m.Invoice.Date) As the pop-up form is opened, there appears the calendar icon on the main page.
Before clicking pop-up, html in main page is:
<input id="Invoice_Date" type="hidden" value="11.01.2012 00:00:00" name="Invoice.Date">After clicking pop-up extra div's and span's are added to main page's html as below:
<div class="t-widget t-datepicker"><div class="t-picker-wrap"> <input id="Invoice_Date" class="t-input" type="hidden" value="11.01.2012" name="Invoice.Date" autocomplete="off"><span class="t-select"></div></div>A sample screenshot is attached.