ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
ViewBag as value of awe.textbox
Title:
B
I
{code}
?
I'm trying to get a date field on a display only form formatted to customer requirement. The other fields on the form are disabled awe.textbox and I'd like to do the date the same way. Elsewhere in the forum you advise to convert the date to string and populate from that. To avoid an extra viewmodel to pass the string field, is it possible to populate the awe.textbox from a Viewbag field?
Save Changes
Cancel
Ratladi
asked at 17 Apr 2014
try .Value(ViewBag.MyField)
at 17 Apr 2014
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK