RcBuilder@walla.com
call centre: 054-5614020

Translations class example

Posted by: RcBuilder  /   Category: Controls / Converters / Dictionary / Enum / SOURCE CODE   /   No Comments
06
Nov
2014

Translations class example namespace Translations { public class Months { private Entities.Cultures.eCountryCode DefaultCountry = Entities.Cultures.eCountryCode.EN; private Dictionary<Entities.Cultures.eCountryCode, Dictionary<string, string>> _Data = new Dictionary<Entities.Cultures.eCountryCode, Dictionary<string, string>> { { #region CN: Entities.Cultures.eCountryCode.CN, new Dictionary<string, string> { { "01", "一月" }, { "02", "二月" }, { "03", "三月" }, { "04", "四月" }, { "05", "五月" }, { "06", "六月" }, { "07", "七月" }, { "08", "八月" }, { "09", "九月" }, { "10", "十月" }, { "11", "十一月".

Read more

RENDER THE CONTROL

Posted by: RcBuilder  /   Category: Controls / HtmlTextWriter   /   No Comments
30
Jul
2014

RENDER THE CONTROL the below technique using place holders within a string replaced by user-control rendered content imagine an CMS with custom place holders to replace with actual controls in the site by overriding the control ToString   method and create the control rendered string value //within the UC public override string ToString() { StringWriter sb = new StringWriter(); HtmlTextWriter tw = new.

Read more

winForms Progress Bar

Posted by: RcBuilder  /   Category: Controls / ProgressBar / winForms   /   No Comments
08
Jul
2014

winForms Progress Bar remark drag progressBar object from toolbox into the form using progressBar1.Minimum = 0; progressBar1.Maximum = domains.Count; foreach (var item in.

Read more

Dynamic User Control

Posted by: RcBuilder  /   Category: Controls / HTML / SOURCE CODE   /   No Comments
08
Jul
2014

Dynamic User Control // replace within a string with dynamic user control CS Code string Body = "<div>before before before before before before before before</div><div></div><div>after after after after after after after</div>"; var before = new Literal() { Text = Body.Substring(0, Body.IndexOf("")) }; var after = new Literal() { Text = Body.Substring(Body.IndexOf("") + 9) }; var ctrl = (UC.Control1)LoadControl("~/UC/Control1.ascx"); lblBody.Controls.Add(before); lblBody.Controls.Add(ctrl); lblBody.Controls.Add(after); ASPX <asp:Label ID="lblBody" runat="server".

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים