That's exactly what I was looking for. Thank you.
I am having only one problem. I created the file SolidMsgBox.cs and added the code there:
public static class HtmlHelperExtensions {
public static string SolidMsgBox(this HtmlHelper helper, string name) {
return SolidMsgBox(helper, name, null, null);
}
' ...
}Then I was creating a new .cs file for a new helper the same as this one and I got the following:
The namespace '<global namespace>' already contains a definition for 'HtmlHelperExtensions'
Does this mean that I need to place all my Helper extensions in the same file? Can't I place them in different files?
Thanks,
Miguel