setting material/DynMatInst to UMG binding

Hi,
how do i set material or dynamic material instance to UMG binding? I have tried with textures and text, both worked without flaws. But cant seem to get the same thing to work with the two that i have mentioned earlier.