November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
I solved by adding a method to the views generic baseclass. But there must be a better way.
public string Desc()
{
var repository = ServiceLocator.Current.GetInstance<IContentTypeRepository>();
var blockrepository = new BlockTypeRepository(repository);
string slask = blockrepository.Load<T>().LocalizedDescription;
return slask;
}
I might be stupid but I can't figure out how I can get the LocalizedDescription for a block inside a view.
I'm using forms.
Probably easy but I need help.