burningice wrote:
@Mawtex. That's a nice elegant solution. I'll try it out.
If we weren't doing that, Razor functions could never be used as input for other functions that expects XHTML.Good point, burningice about how it plays with other parts of C1.
But seriously? Just cut/paste the code into a ascx/ascx.cs file, and your good to go. I always do this when working with ie Google Custom Search, because i can never trust the markup i receive from them and got tired of maintaining a search-and-replace table.For UserControl Functions though, I am just loving the razor syntax so much... unless you're talking about using razor inside the usercontrol...
@Mawtex. That's a nice elegant solution. I'll try it out.