[CLOSED] Dynamic Hyperlink adding HTML Line break after
Hi,
I'm adding hyperlinks dyamically to a button group using:
Code:
l = new Ext.Net.HyperLink();
l.NavigateUrl = string.Format("/Workflow.aspx?soeId={0}", w.WorkflowSoeId);
l.Text = string.Format("{0}-{1}", w.Title, w.StatusName);
l.ToolTips.Add(new ToolTip(new ToolTip.Config() { Title = " More Information", Html = string.Format("Due Date: {0}<br/> New/Update: {1}", w.DueDate, (w.Repetition) ? "Update" : "New") }));
l.Render(this.btnGrpWrk, RenderMode.AddTo);
I'd like to be able to add a <BR> after each hyperlink, how can I do this?
RE: [CLOSED] Dynamic Hyperlink adding HTML Line break after
Hi,
As I see you use AddTo mode. It is mean that you use layout. Layout cannot contains br tags. Thereforefore use RowLayout (or VBoxLayout) inside container which contains hyperlinks
RE: [CLOSED] Dynamic Hyperlink adding HTML Line break after
You can also just style the link to have display:block.
Code:
var linkControl = new Ext.Net.LinkButton() {
Text = "LinkText",
StyleSpec="display:block;padding-bottom:5px;"
};