Exemple #1
0
        protected override void RenderContents(System.Web.UI.HtmlTextWriter writer)
        {
            Image img = new Image();

            img.CssClass = this.CssClass;

            img.ImageUrl = RequestSettings.UrlBuilder(Data, Format, new System.Web.Routing.RouteValueDictionary(null));

            img.RenderControl(writer);
        }
Exemple #2
0
 public static string Barcode(this HtmlHelper helper, string data, BarcodeFormats format, IDictionary <string, object> options)
 {
     return(RequestSettings.UrlBuilder(data, format, options));
 }