London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi
I'm trying to figure out how to write a custom dojo uihint module for a bit more complex file links with metadata but the documentation isn't really... well, it doesn't exist.
In my example I may have a file list looking like this
<ul> <li> <div> <a href="~/link/52977bf151dd414985ead1a54a073aa7.jpg">File name</a> </div> <div> File description </div> </li> <li> <div> <a href="~/link/404590e9cc3b4f9ab58ed88951ad1619.jpg">File name</a> </div> <div> File description </div> </li> </ul>
The obvious and only way to store this would be in a serialized object similar to this
public class FileList { public string File {get;set;} public string Name {get;set;} public string Description {get;set;} }
I've also added a property inheriting from PropertyLongString and a descriptor inheriting from EditorDescriptor.
None of the above are any problems, writing the dojo module however is. Where does one even start since this is EPiDojo?
If there are any tutorials out there how to build a list that implements a filepicker and two meta fields I'd like to know about them :)
Thanks