04 Oct 2005

使ExpanderPanel的文本带上连接

Share

ExpanderPanel.cs 增加TextHref属性
修改了Text属性的Get方法


if(ResourceName != null)
{  if(TextHref == null)
 {
  return CommunityServer.Components.ResourceManager.GetString(ResourceName);
 }
 else
 {
  return String.Format(”<a href=\“{0}\”>{1}</a>”,this.TextHref,CommunityServer.Components.ResourceManager.GetString(ResourceName));
 }
}

comments powered by Disqus