Posted 22 Feb 2010 Link to this post
Posted 24 Feb 2010 Link to this post
Posted 14 Apr 2010 Link to this post
Posted 02 Jun 2011 Link to this post
NodeTemplate template = new NodeTemplate(item.Description.Trim().Substring(0, 5), true); template.InstantiateIn(node);
class NodeTemplate : ITemplate
{
private string binder;
private bool flag;
public NodeTemplate(string binder, bool flag)
this.binder = binder;
this.flag = flag;
}
public void InstantiateIn(Control container)
Literal ltr = new Literal();
ltr.ID = "ltr";
if (flag)
ltr.Text = @"<
Font
color
=
'Red'
size
'3px'
>" + binder + "..." + "</
>";
else
'Black'
//ltr.DataBinding += new EventHandler(label1_DataBinding);
container.Controls.Add(ltr);
Posted 07 Jun 2011 Link to this post
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.