Firstly use Nuget to grab the package Then in your view model define the property that you’d like the TinyMCE editor used for. The really important bit here is the “AllowHtml” attribute, without this you’ll get security errors when you submit the form. The “required” attribute doesn’t actually work client-side, but I check this server-side Read more about Use TinyMCE html editor in asp.net MVC[…]
The idea is that I can call this utility class specifying the type of class I want and the path to the JSON file. The utility should cache the results, with a cache dependency on the file. Here’s the c# code Usage Example JSON A class to match the JSON How to use
In Visual Studio I sometimes need to install a specific package to a specific project In this case I wanted to try structuremap, but the latest version required .NET 4.5 and I was using 4.0 I also only wanted it installed into 1 particular project. It’s pretty easy – but as an aid to my memory Read more about Nuget a specific package to a specific project[…]
Posting my list of objects back to my controller was always returning null 🙁
Kat Jenkins is a Hypnotherapist who contacted me asking for some help with her website.
Our mission was to create a poster advertising a brewing course
Need to get the longitude and latitude for a particular place? Find it on Google maps, double click it to will centre the map where you clicked. Then paste this in the address bar: