Home Debugging DisplayFor Helper
Reply: 0

Debugging DisplayFor Helper

user638
1#
user638 Published in June 20, 2018, 1:25 am

I am trying to debug my DisplayFor(model => model.dateOfEmp) initally DateTime would display Date + time. To avoid this I added a display template with a ShortDate.

After I added a custom shortdateDisplayFor in the folder DisplayTemplate, it stopped emitting the default css class ID. So I have deleted it the template. However, it still emits the Shortdate and not the full date + time.

Question: I would like to debug this in Visual Studio, and know how can I find out which DisplayFor is being called.?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.308723 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO