Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
If you want to replace all PropertyNumber controls with a larger text box - you could create your own rendering control like this:
public class MyPropertyNumberControl : EPiServer.Web.PropertyControls.PropertyTextBoxControlBase
{
public override void ApplyControlAttributes(System.Web.UI.WebControls.WebControl control)
{
base.ApplyControlAttributes(control);
control.SkinID = "Size100";
}
}
And register by either initalization module, global asax or web.config. All described here:
Properties of type integer will get a 25px wide input box in edit mode:
Is there a way to make it bigger, so my whole integer will fit?